Open In App

How to Install Python Anaconda 5 on Arch Linux 2017

Improve
Improve
Like Article
Like
Save
Share
Report

Anaconda is a distribution of the Python and R programming language, which simplifies package management and deployment. Package versions in Anaconda are managed by the package management system conda. Mini conda is a small, bootstrap version of Anaconda, which includes only conda, Python, the packages they depend on, and a small number of other packages.

The big difference between conda and the pip package manager is in how package dependencies are managed, when pip installs a package, it automatically installs any dependent Python packages without checking if these conflict with previously installed packages. Conda on the other hand analyses the current environment including everything currently installed, and, together with any version limitations specified, works out how to install a compatible set of dependencies, and shows a warning if this cannot be done.

Installation of  Anaconda and Miniconda on arch Linux is fairly simple and it comprises of the following steps. 

Steps to install Anaconda/Miniconda

Step 1: Download the correct package(https://www.anaconda.com/products/individual).

Download Miniconda from (https://docs.conda.io/en/latest/miniconda.html).

Step 2: Executing the install script.

Located the downloaded file and open terminal in its directory as shown

Execute the script as follows.

$ sh filename

Keep pressing enter to move forward in the terms and conditions and type yes to start to install. You can change the install directory by typing it’s a full path at this step, however keeping the default location is recommended. Press enter to choose the default location.

Type yes to initialize conda install:

Anaconda/Miniconda should be installed on your system now, restart the terminal and type conda info to verify the install.

Step 3: Installing Anaconda-Navigator (skip if you installed anaconda)

 Anaconda navigator is a GUI tool for conda package management, which means it is used to install packages and manage virtual environment using a graphical interface. To install it simply run conda install anaconda-navigator

To execute anaconda navigator type in your terminal 

$ anaconda-navigator

Uninstalling Anaconda/Miniconda

Install anaconda-clean.

$ conda install anaconda-clean

Execute anaconda-clean

$ anaconda-clean --yes

Delete the backup directory as follows

$ sudo rm -rf /backup/directory

Similarly, delete Anaconda/Miniconda directory.

$ sudo rm -rf /installation/directory

Remove Anaconda/Miniconda from path.

$ sudo nano .bashrc

press ctrl + s to save and ctrl + x to exit


Last Updated : 28 Feb, 2022
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads