Rustup + Cargo
Difficulty: Easy
Rustup is a tool that allows you to easily install, update, and uninstall Rust, and it also includes Cargo, the Rust build tool, and package manage. With Rustup, you can manage your Rust toolchain and dependencies efficiently, making it a convenient choice for Rust developers.
Installation
Rustup is an installer for the systems programming language Rust
With user
admin
, run the following in your terminal, then follow the on-screen instructions to install Rust
When the prompt asks you to choose an option, type "1
" and press enter or press enter directly to "Proceed with installation"
Configure your current shell to reload your PATH environment variable to include Cargo's bin directory (
$HOME/.cargo/bin
)
Now check the correct installation of Rustup
Example of expected output:
And cargo
Example of expected output:
Upgrade
With user
admin
type the appropriate command to get that
Expected output:
Uninstall
With user
admin
type the appropriate command to get that
Expected output:
Press "y"
and enter
Expected output:
Last updated