How to install and uninstall standalone rust installer on Linux

 Hi friends, in this blog post we are going to see "how to install and uninstall standalone rust installer on Linux"

install-uninstall-standalone-rust-installer-linux

These are the details of the linux system, which we used to create this content.

system-used-for-rust-offline-installer

To whom standalone rust installer will be needed?

People who want to install rust offline can use standalone rust installer. 

However, note that internet is needed first to download standalone rust installer.  And After that installing rust through standalone rust installer can be done offline.


 Install standalone rust installer:

In the rust website homepage menu bar, click Install.

rust-install-webpage


Next in the Install rust webpage , Click see other installation methods.

other-installation-methods-rust-webpage


In the other installation methods webpage , Click Standalone Installer .

standalone-rust-installer-webpage


Scroll down, find, and, download the tar, which is suitable for linux system.

download-tar-file-rust-stable-version-linux-platform


unzip/extract downloaded tar file.

extract-rust-folder-linux-platform


Now we can see a folder was created with name of the tar.

rust-stable-version-folder-linux-platform


Go into that particular folder/directory.

Open a terminal here.

Type the command sudo ./install.sh .




install-rust-standalone-installer-command


enter the password.

Now rust will be installed.

These are the components installed with this standalone installer.



standalone-rust-installer-installed-on-linux-successfully

let we check whether rust was successfully installed or not by typing the command rustc --version


check-rustc-version-command-standalone-rust-installer-linux





Here i checked rust version within the same terminal and rust was installed successfully.


display-rustc-version--command-standalone-rust-installer-linux



But it is recommended to restart terminal first and after that proceed to check rust was successfully installed or not.


UnInstall standalone rust installer:

Now let we see how to uninstall standalone rust installer.

Go into that particular rust standalone installer folder.

type the command 

sudo ./install.sh --uninstall





enter the password.

Now rust will be uninstalled.

Let we check whether rust was successfully uninstalled or not  that by typing the command.

 rustc --version and we can see  rust was un installed successfully.
















Comments

Popular posts from this blog

Rust program basics | Creating a "Hello, World!" Program on Linux

Install rust on linux computer through rust up installer