This is for my educational purposes of learning rust to do tasks that I have done successfully in either bash or C/C++. Feel free to snatch this up or not.
The [official documentation from Debian](https://wiki.debian.org/Rust) states one can either install the apt packages or use the [official rustup installer](https://www.rust-lang.org/tools/install).
Using apt packages:
```
sudo apt update
sudo apt upgrade
sudo apt install rustc cargo rustfmt
```
Using rustup:
```
sudo apt update
sudo apt upgrade
sudo apt install curl build-essential gcc make
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```
The final command above will pull in and run the installer. Follow the prompts on screen.