Facebook Twitter Instagram
    TecAdmin
    • Home
    • Ubuntu 20.04
      • Upgrade Ubuntu
      • Install Java
      • Install Node.js
      • Install Docker
      • Install LAMP Stack
    • Tutorials
      • AWS
      • Shell Scripting
      • Docker
      • Git
      • MongoDB
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    Home»Data Science»How To Install Anaconda on Ubuntu 20.04

    How To Install Anaconda on Ubuntu 20.04

    RahulBy RahulSeptember 5, 20213 Mins ReadUpdated:September 5, 2021

    Anaconda is an open source platform which is used for R programming and Python. Which contains a large variety of the packages and repositories. It is important in its functionality as it provides processing and computing data on a large scale and also to program in python language. The Anaconda is a good platform to program the python applications.

    This article enables us to install the Anaconda on Ubuntu 20.04 in an easy way.

    Prerequisites

    Firstly, open terminal on your Ubuntu system and execute the command mentioned below to update packages repository:

    sudo apt update 
    

    Then install the curl package, which is further required for the downloading the installation script.

    sudo apt install curl -y 
    

    Step 1 – Prepare the Anaconda Installer

    Now I will go to the /tmp directory and for this purpose we will use cd command.

    cd /tmp 
    

    Next, use the curl command line utility to download the Anaconda installer script from the official site. Visit the Anaconda installer script download page to check for the latest versions. Then, download the script as below:

    curl --output anaconda.sh https://repo.anaconda.com/archive/Anaconda3-2021.05-Linux-x86_64.sh 
    

    To check the script SHA-256 checksum, I will use this command with the file name, though this step is optional:

    sha256sum anconda.sh 
    
    Output:
    25e3ebae8905450ddac0f5c93f89c467 anaconda.sh

    Check if the hash code is matching with code showing on download page.

    Step 2 – Installing Anaconda on Ubuntu

    Your system is ready to install Anaconda. Let’s move to the text step and execute the Anaconda installer script as below:

    bash anaconda.sh 
    

    Follow the wizard instructions to complete Anaconda installation process. You need to provide inputs during installation process as described below:

      01. Use above command to run the downloaded installer script with the bash shell.

      Installing Anaconda on Ubuntu 20.04
      Run Anaconda Installer Script in A Shell

      02. Type “yes” to accept the Anaconda license agreement to continue.

      Accept License Agreement in Conda Installer
      Accept License Agreement

      03. Verify the directory location for Anaconda installation on Ubuntu 20.04 system. Just hit Enter to continue installer to that directory.

      Continue Anaconda Installation
      Continue the Anaconda Installer Process

      04. Type “yes” to initialize the Anaconda installer on your system.

      Intialize Anaconda during Installation
      Intialize Anaconda during Installation

      05. You will see the below message on successful Anaconda installation on Ubuntu 20.04 system.

      Anaconda Installation Completed
      Anaconda Installation Completed Sucessfully

    The Anaconda Installation Completed Sucessfully on your Ubuntu system. Installer added the environment settings in .bashrc file. Now, activate the installation using following command:

    source ~/.bashrc 
    

    Now we are in the default base of the programming environment. To verify the installation we will open conda list.

    conda list 
    
    Output:
    # packages in environment at /home/tecadmin/anaconda3: # # Name Version Build Channel _ipyw_jlab_nb_ext_conf 0.1.0 py38_0 _libgcc_mutex 0.1 main alabaster 0.7.12 pyhd3eb1b0_0 anaconda 2021.05 py38_0 anaconda-client 1.7.2 py38_0 anaconda-navigator 2.0.3 py38_0 anaconda-project 0.9.1 pyhd3eb1b0_1 anyio 2.2.0 py38h06a4308_1 appdirs 1.4.4 py_0

    How to Update Anaconda

    You can easily update the Anaconda and packages using the conda binary. To upgrade the Anaconda on your system, type:

    conda update --all 
    
    Output:
    Proceed ([y]/n)? y

    Press “y” to proceed with the update process. The output will show you all the packages that are newly installing, or upgrading current packages and removal of unnecessary packages.

    Conclusion

    You can use Anaconda to manage scientific computing, workloads for data science, analytics, and large-scale data processing. In this article we have learned how to install anaconda on Ubuntu from its original source.

    Anaconda Python Ubuntu
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp
    Previous ArticleHow to Install and Secure Apache on Debian11
    Next Article How To Install and Secure MongoDB on Ubuntu 20.04

    Related Posts

    Change Screen Resolution of An Ubuntu VM in Hyper-V

    Updated:May 2, 20222 Mins Read

    Download Ubuntu 22.04 – DVD ISO Images

    Updated:May 7, 20222 Mins Read

    How to Find Django Install Location in Linux

    Updated:April 27, 20221 Min Read

    How To Install Python 3.10 on Debian 11/10

    2 Mins Read

    How to Install Python 3.10 on CentOS/RHEL 8 & Fedora 35/34

    Updated:February 12, 20223 Mins Read

    How To Install Python 3.10 on Ubuntu, Debian & Linux Mint

    Updated:April 22, 20222 Mins Read

    1 Comment

    1. Yakhyo Mamasoliev on September 23, 2021 12:55 pm

      Thanks, it saved my day!

      Reply

    Leave A Reply Cancel Reply

    Recent Posts
    • How to Enable / disable Firewall in Windows
    • How to Install JAVA on Ubuntu 22.04
    • Switching Display Manager in Ubuntu – GDM, LightDM & SDDM
    • Changing the Login Screen Background in Ubuntu 22.04 & 20.04
    • How To Install PHP (8.1, 7.4 or 5.6) on Ubuntu 22.04
    Facebook Twitter Instagram Pinterest
    © 2022 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.