Back to 2 Minute Installs guides

[2 min installs] Anaconda on Ubuntu

Jenda Tovarys
Updated on August 30, 2022

Here is how to install Anaconda on your Ubuntu 20.04 system in under two minutes:

Step 1 - Download the installer

Download the Anaconda installer for Linux.

Step 2 - Install for python 3

Install anaconda for python 3 by running the following command:

 
bash ~/Downloads/Anaconda3-2020.05-Linux-x86_64.sh

Replace the path with the actual path of the downloaded installer.

Step 3 - Licence Agreement

Press Enter to review the license agreement. Then press and hold Enter to scroll. Then enter yes to agree to the license agreement.

Then, use Enter to accept the default install location, use CTRL+C to cancel the installation, or enter another file path to specify an alternate installation directory. If you accept the default install location, the installer displays PREFIX=/home/<USER>/anaconda<2/3> and continues the installation. It may take a few minutes to complete.

Note: Official anaconda docs recommend you accept the default install location. Do not choose the path as /usr for the Anaconda/Miniconda installation.

The installer prompts you to choose whether to initialize Anaconda Distribution by running conda init. Enter yes.

The installer finishes and displays, Thank you for installing Anaconda!

That’s it

Anaconda is successfully installed on your Ubuntu system.

Author's avatar
Article by
Jenda Tovarys
Jenda leads Growth at Better Stack. For the past 5 years, Jenda has been writing about exciting learnings from working with hundreds of developers across the world. When he's not spreading the word about the amazing software built at Better Stack, he enjoys traveling, hiking, reading, and playing tennis.
Got an article suggestion? Let us know
Licensed under CC-BY-NC-SA

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Make your mark

Join the writer's program

Are you a developer and love writing and sharing your knowledge with the world? Join our guest writing program and get paid for writing amazing technical guides. We'll get them to the right readers that will appreciate them.

Write for us
Writer of the month
Marin Bezhanov
Marin is a software engineer and architect with a broad range of experience working...
Build on top of Better Stack

Write a script, app or project on top of Better Stack and share it with the world. Make a public repository and share it with us at our email.

[email protected]

or submit a pull request and help us build better products for everyone.

See the full list of amazing projects on github