Rullst AcademyRullst Academy/Lesson
Rust and Rullst on Ubuntu: from zero · Lesson 02 / 06

Prepare the Ubuntu workbench

Before the first program, let’s check the bridge between Rust and the operating system.

Learning paths8 min

Let's discover together

  1. 1

    Rust needs a linker. On Ubuntu, build-essential provides basic compilation tools. Curl and ca-certificates help with HTTPS downloads.

  2. 2

    Run sudo apt update and then the apt install command below. Read the package list and required space before confirming. Pkg-config, libssl-dev and cmake support common native dependencies.

  3. 3

    We will use rustup to manage Rust. If rustc came from another installation, first check command -v rustc; avoid overlapping methods without knowing which is active. Do not use sudo for cargo new, cargo run or cargo install.

FROM LESSON TO PRACTICE

A guide to follow at your pace

Read the steps before using the reference below. Commands run in the indicated system’s terminal; signup happens on the official site. Rullst Academy exercises are practice and do not verify your installation or external account.

sudo apt update
sudo apt install build-essential curl ca-certificates pkg-config libssl-dev cmake

Official links and next step

✦
YOUR MISSION

Identify the build prerequisite in the scenario and how to seek help on a managed computer.

Now it's your turn

Discovery workshop

Prepare the Ubuntu workbench

Practice scenario: the editor opens, but compilation reports a missing linker. The editor’s appearance does not prove native tools are installed.
Build your answers and check when you are ready.
A moment to understand

Does installing an editor guarantee a ready linker?

I need a hint

Writing code and turning it into a program are different steps.

Loading your journey…

Take it with you

Recognize your system’s prerequisites and consult official sources.

At your own pace

My files and GitHub

Every lesson can become your own record: code, notes or a practice plan. Saving a file to GitHub is optional and does not change your XP.

Student guide

The editor and downloads open when this lesson is available to your account. Check access below or return to the track map.

Checking your access to this lesson…

Rullstpetbot

AI can make mistakes. Check the lesson material.