Uninstall Anaconda on Ubuntu

The steps to uninstall the Anaconda distribution from Ubuntu are given below:

Step 1: Execute the remove command

To uninstall Anaconda from your Ubuntu system, run the following command. It will remove all the files related to Anaconda.

rm -rf ~/anaconda3 ~/.condarc ~/.conda ~/.continuum

Uninstall Anaconda

Step 2: Open bashrc file

Now to remove Anaconda from the system path, open ‘bashrc’ on gedit using the following command.

gedit ~/.bashrc

Open bashrc file

Step 3: Remove Anaconda from path

Scroll down to the end of the bashrc file and locate the contents related to the Anaconda installation. Select those parts and delete them to remove conda from the path.

Select contents related to Anaconda

Step 4: Save the bashrc file

After deleting the selected contents, click on the save on top part of gedit or press “Ctrl+S” to save the edited bash file.

Now you have successfully uninstalled Anaconda and also removed it from the path.

How to Install Anaconda on Ubuntu 20.04

Anaconda is a distribution of Python and R that is used for data science, Machine learning and Scientific analysis. It is designed to simplify the process of managing several complex software environments and packages required for data scientists. It offers several libraries and packages required for data analysis and data processing. Due to advancements in AI and machine learning, Anaconda become more popular among users.

In this article, we will guide you through the steps to install Anaconda on Ubuntu 20.04. Even though this article is based on installing Anaconda on Ubuntu 20.04, it is also applicable to other versions of Ubuntu as the installation process is the same.

Similar Reads

Install Anaconda on Ubuntu

The steps to install the Anaconda distribution on the Ubuntu system are explained in detail below:...

Updating Anaconda

It is very important to keep the Anaconda updated to the latest version when new versions are released. It is pretty simple to update Anaconda packages. The steps to update Anaconda are given below:...

Uninstall Anaconda on Ubuntu

The steps to uninstall the Anaconda distribution from Ubuntu are given below:...

Conclusion

Anaconda is widely used by data scientists and researchers for data processing, machine learning, predictive analysis and data visualisation. It is a great tool to have for developers as it helps data scientists and developers easily manage multiple packages and virtual environments. In this tutorial, we have explained the steps to install Anaconda on Ubuntu, how to update Anaconda and finally the steps to uninstall Anaconda from Ubuntu. We hope that you have successfully installed Anaconda on your system following our tutorial and started your projects on data science. Feel free to share your thoughts about us in the comments!...

Contact Us