Categories: Ubuntu

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

 

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


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.


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.


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.


Hold the “Enter” key until you reach the document’s end. Then, type “yes” and press “Enter” to accept the terms.


Now, you can either specify a path to install Miniconda or press “Enter” to confirm the installation at the default path (recommended).


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.


Finally, verify the installed version of Conda by running the following command:

conda –version

 

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.

Ubuntu Server Admin

Recent Posts

Web Engineering: Hack Week 2024

At Canonical, the work of our teams is strongly embedded in the open source principles…

19 hours ago

Ubuntu Weekly Newsletter Issue 873

Welcome to the Ubuntu Weekly Newsletter, Issue 873 for the week of December 29, 2024…

2 days ago

How to resolve WiFi Issues on Ubuntu 24.04

Have WiFi troubles on your Ubuntu 24.04 system? Don’t worry, you’re not alone. WiFi problems…

2 days ago

Remembering and thanking Steve Langasek

The following is a post from Mark Shuttleworth on the Ubuntu Discourse instance. For more…

3 days ago

How to Change Your Prompt in Bash Shell in Ubuntu

I don’t like my prompt, i want to change it. it has my username and…

3 days ago

The Silent Guardian: Why Bundler Checksums Are a Game-Changer for Your Applications

Introduction: A Fragile Trust The Ruby ecosystem relies heavily on RubyGems.org as the central platform…

4 days ago