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
Step 2: Open bashrc file
Now to remove Anaconda from the system path, open ‘bashrc’ on gedit using the following command.
gedit ~/.bashrc
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.
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.
Contact Us