Check out example codes for "install rust ubuntu 20". It will help you in understanding the concepts better.

Code Example 1

sudo apt update
sudo apt install rustc

Learn ReactJs, React Native from akashmittal.com