From the course: Rust Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Installing Rust on Linux and macOS

Installing Rust on Linux and macOS - Rust Tutorial

From the course: Rust Essential Training

Start my 1-month free trial

Installing Rust on Linux and macOS

- [Narrator] If you're using an operating system other than Windows such as Linux or macOS you can follow the link on the install page of rust-lang.org or other installation methods. Scroll down to the section on other ways to install rustup, select this shell command, copy it, switch over to a terminal, paste it, and then press Enter to run it. This will download and run a shell script which will then download and install the correct version of rustup for your system. I'll select option one to proceed with the installation. And everything worked correctly, so I get this message that Rust is installed, great. Now we also get this message that Cargo's bend directory needs to be included in our path environment variable. That should get done automatically the next time you log out and log back into the computer, but we can also configure it for the current shell using the command source $HOME/.cargo/env. Now, if I type rustc…

Contents