Problem scenario
You want to install Rust on Linux (e.g., SUSE, Debian/Ubuntu or CentOS/RHEL/Fedora).
Solution
- Run this command:
sudo curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Choose "1" and press enter.
2. Run this command:
source $HOME/.cargo/env