In this lecture, we're going to talk about how to install the latest version of Rust on Linux.
My Linux operating system is going to be Ubuntu 20.
So the first thing that we're going to want to do is make sure that we have kernel installed.
So we're going to run pseudo apt install kernel.
I have kernel installed already.
The next thing we want to make sure that we have installed is the build essential package.
So again, sudo apt install build essential.
I also have build essential already installed.
So now once you have both of those installed, we are ready to.
Download and run the rust.
Installation script.
So what you're going to do is you're going to curl protocol for protocol HTTPS at the TLS version 1.2
https.
Rest up RS Tech SE Capital S.F. pipe it and run.
So what it's going to do is it's going to go out download the Rust Installer.
It's going to modify the path variable force, which is really important, allowing us to interact with
all the rust tools from our terminal.
So we're going to type one to proceed with the default installation.
Hit Enter and it's going to go out and it's going to download all of the rest components for us and
it looks like it is getting rust version 1.57, which is great because that is the last.
Stable release.
So now that it is finished, we are going to run source
home dot cargo.
And now we can run.
Russ Sea tech.
Tech version.
And as you can see, let me clear.
We now have the latest version of rust installed.
These steps also work on Mac OS.
I will place all these steps in the resources tab just for quick reference and I will also make note
of how you can get a C compiler on mac os.