Rust is a popular programming language which is similar to C++ and has a focus on safety and concurrency. If you want to give it a go the following steps will get you started with Rust on Linux or WSL:
- Open a terminal and enter
curl https://sh.rustup.rs -sSf | sh
- The install script will launch and you will be prompted to choose and installation type. Choose “1. Proceed with installation (default)”
- Once installed you will be prompted to restart to allow your environment variable to be updated automatically. If you do not wish to restart, add the environment variable manually using the following at the shell:
- Rust will need a linker and C compiler on your system. Most systems will come with a compiler and linker installed however if you do not have one install gcc:
sudo apt install gcc
- Get programming!