In this tutorial, we will show you how to install Anaconda on Manjaro 20. For those of you who didn’t know, Anaconda is a popular Python/R data science and machine learning platform, used for large-scale data processing, predictive analytics, and scientific computing. Anaconda is available in four editions namely individual (open source) edition, commercial edition, team edition, and enterprise edition. Anaconda individual edition is the world’s most popular Python distribution platform with over 20 million users worldwide.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo
‘ to the commands to get root privileges. I will show you through the step-by-step installation of Anaconda on a Manjaro 20 (Nibia).
Prerequisites
- A server running one of the following operating systems: Manjaro 20.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
Install Anaconda on Manjaro 20 Nibia
Step 1. Update Your System.
Before running the tutorial below, make sure that our system is up to date:
sudo pacman -Syu
Step 2. Installing Required Dependency Anaconda.
You will need to install the following extended dependencies:
sudo pacman -Sy libxau libxi libxss libxtst libxcursor libxcomposite libxdamage libxfixes libxrandr libxrender mesa-libgl alsa-lib libglvnd
Step 3. Installing Anaconda on Manjaro 20.
Now we download the latest Anaconda installer for Linux from Anaconda’s official download page:
wget https://repo.anaconda.com/archive/Anaconda3-2024.02-1-Linux-x86_64.sh
Go to the location where you downloaded the Anaconda installer and check the integrity of the downloaded file with SHA-256:
sha256sum Anaconda3-2024.02-1-Linux-x86_64.sh
This will generate a hash value that you can compare with the hash value provided on the Anaconda website. If the values match, you can proceed with the installation.
Now, start the Anaconda installation using the following command:
bash Anaconda3-2024.02-1-Linux-x86_64.sh
Now keep pressing enter till it asks:
Do you accept the license terms? [yes|no] Do you wish the installer to initialize Anaconda3 by running conda init? [yes|no]
Once the installation is complete, you need to activate the Anaconda environment. To do this, open the terminal and run the following command:
source ~/.bashrc
Step 3. Verify Anaconda installation.
To verify Anaconda installation from the command line, run the following command:
conda list
This will display a list of packages installed in your Anaconda environment.
Congratulations! You have successfully installed Anaconda. Thanks for using this tutorial for installing the latest version of Anaconda on the Manjaro system. For additional help or useful information, we recommend you check the official Anaconda website.