How to install conda command line in ubuntu linux

How to Install Conda Command Line in Ubuntu Linux

Conda is a package management utility that simplifies the overall process of installing, updating, and modifying the software packages on your devices. You can use Conda in different operating systems including Windows and Linux. However, many Linux beginners always look for ways to get Conda in their system. So, this quick blog is all about the simple method to install the Conda command line in Ubuntu Linux.

How to Install the Conda Command Line in Ubuntu Linux

Before installing Conda, ensure that the existing packages are up-to-date.

sudo
Sponsored
apt update

 
How to install conda command line in ubuntu linux 1

Go to Conda’s official website and copy the link to the latest Miniconda (the Conda installer) installation script from the Linux section.

How to install conda command line in ubuntu linux 2
Open the terminal and then use the “wget” command to download the necessary script.

wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh

 
Here, replace the link with the link that you copied from the website.

See also  What is build-essential Ubuntu, how to install and use it?

How to install conda command line in ubuntu linux 3
Moreover, the output displays the file name, saving the script while downloading. In this case, the file name is “Miniconda3-latest-Linux-x86_64.sh”. Keep its note because we will need this file in the next step.

How to install conda command line in ubuntu linux 4
Now, you can open the script using the Bash command.

Sponsored
bash Miniconda3-latest-Linux-x86_64.sh

 
You’ll get a prompt to review the license as soon as you enter this command. You can press the “Enter” key to continue to the T&C document.

How to install conda command line in ubuntu linux 5
Hold the “Enter” key until you reach the document’s end. Then, type “yes” and press “Enter” to accept the terms.

How to install conda command line in ubuntu linux 6
Now, you can either specify a path to install Miniconda or press “Enter” to confirm the installation at the default path (recommended).

How to install conda command line in ubuntu linux 7
In this step, take note of onscreen instructions as it will help you in the future. Finally, type and enter “yes”. Conda is now installed in your system. You must exit the current terminal session and relaunch it to let the changes take effect.

See also  UFW Allow Port

How to install conda command line in ubuntu linux 8
Finally, verify the installed version of Conda by running the following command:

conda –version

 
How to install conda command line in ubuntu linux 9

Conclusion

Conda is a powerful package management tool that you can operate using the command line in Linux. Since its installation is confusing, this short guide explains the overall process thoroughly. It downloads the currently available version of the Miniconda installer from their official download page. After that, we run it to install the Conda command line. In the final step, we verify it by checking the installed version.

Leave a Comment

Only people in my network can comment.