top of page
  • Writer's pictureDhruv Awasthi

Installing Anaconda on Linux: A Comprehensive 10-Step Guide

Discover a straightforward 10-step guide on installing Anaconda across various Linux distributions including Ubuntu, Linux Mint, Elementary OS, Pop OS, Deepin, and other Debian-based systems. Anaconda reigns as a highly favored open-source Python distribution platform worldwide, boasting over 8,000 open-source data science and machine learning packages. Tailored for major operating systems and architectures, Anaconda is a haven for developers. At its core is Conda, an exemplary open-source package and environment management system compatible with Windows, macOS, and Linux. It simplifies the installation, execution, and updating of packages along with their dependencies, besides effortlessly creating, saving, loading, and switching between environments on your local machine. Initially designed for Python programs, Conda has evolved to package and distribute software across various languages. Anaconda further enriches user experience with a desktop application, facilitating seamless management of integrated applications, packages, and environments sans command line usage. Its extensive open-source software access caters to diverse project needs, spanning from data visualization to robotics. Follow the steps below to get Anaconda installed on your Linux machine:

1. Preparation: For utilizing GUI packages on Linux, ensure to install the extended dependencies for Qt by executing:

sudo apt-get install libgl1-mesa-glx libegl1-mesa libxrandr2 libxrandr2 libxss1 libxcursor1 libxcomposite1 libasound2 libxi6 libxtst6

2. Download Installer: Obtain the Anaconda installer for Linux from the official website.

3. Grant Execution Permission: Before initiating installation, make the downloaded file executable with the command:

chmod +x ~/Downloads/

Replace ~/Downloads/ with the actual path of your downloaded file.

4. Initiate Installation: Kickstart the Anaconda installation by executing:

bash ~/Downloads/

5. Review License Agreement: Press Enter to view the license agreement. Continuously press and hold Enter to scroll through.

6. Accept License: Type yes to accept the terms of the license agreement.

7. Initialize Anaconda: When prompted to initialize Anaconda by running conda init, type yes.

8. Activate Base Environment: Set the base environment to activate automatically by executing:

conda config --set auto_activate_base True

9. Reopen Terminal: Exit the current terminal session and open a new one.

10.Launch Anaconda: Type anaconda-navigator in the terminal to launch the Anaconda Navigator, or initiate command line usage with the conda command.

With these steps, you are well on your way to harnessing the plethora of resources Anaconda offers for your projects, irrespective of your field of interest. Thank you for taking the time to read through my blog post! If you enjoyed the content and would like to stay updated on my future posts, projects, and professional journey, I invite you to subscribe to my newsletter to receive new blog posts and updates directly in your inbox. Feel free to share this blog post with your network if you found it insightful. Also, I'd love to hear your thoughts in the comments section below.

29 views0 comments
bottom of page