Install Anaconda on Ubuntu
The steps to install the Anaconda distribution on the Ubuntu system are explained in detail below:
Step 1: Download Anaconda distribution
Visit the official website of Anaconda distribution and download the latest version of Anaconda distribution installer for Ubuntu.
Step 2: Open the terminal
Open the terminal by pressing “Ctrl+Alt+T” or by clicking the terminal icon from the applications menu.
Step 3: Navigate to downloads
Change the working directory of the terminal by executing the below command. You can also view the files in downloads using the ‘ls’ command. You can now see the Anaconda distribution installer in Downloads.
cd Dowloads
Step 4: Run the installer
After changing the directory to Downloads, run the Anaconda installer by executing the following command.
bash Anaconda3-2024.02-1-Linux-x86_64.sh
Step 5: Review the license agreement
Now, the Anaconda installer will ask the user to review the license agreement. Press “Enter” to review the license agreement.
Step 6: Accept license terms
After reading the license terms, the installer will ask whether you accept the license agreement. Type ‘yes’ and press ‘Enter’ to accept the agreement and continue the installation.
Step 7: Specify the installation location
After accepting the license agreement, the installer will ask for the installation folder for Anaconda distribution. You can press ‘Enter’ to install in the default location or you can specify your desired location. Then installer will start unpacking packages and install them. Installation may take some time.
Step 8: Initialize Anaconda
After installing Anaconda, the installer will ask the user to initialize the conda. You can type yes and press ‘Enter’ to initialize Anaconda and finish installation. It will add the ‘conda’ tool to the system path, so users can run it from any directory.
Now installation is complete and to activate Anaconda, just close the terminal and reopen it.
Step 9: Verify installation
Run ‘conda info’ in the newly opened shell to verify that the Anaconda distribution is installed properly. It will display the details of installation if it is installed successfully.
conda info
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.