Update 16/08/2025:
When I was writing the blog, I was a beginner to Arch Linux, so I forgot it was also a linux machine. There's a simple way to install both anaconda and miniconda to your system, follow the link to this index page:
- Miniconda: https://repo.anaconda.com/miniconda/
- Anaconda: https://repo.anaconda.com/archive/
Can get all the release from this page, follow the command for linux:
wget <filename>
or
curl -o <filename>
After the package is delivered, open the folder with the directrory and run the file as bash:
Example:
bash ~/Miniconda3-latest-Linux-x86_64.sh
Accept the terms and conditions and install the location you want to install. The default directory is /user/home/miniconda/
if you want to change the location you can use -p -u <directory-link>
.
or desired location
bash Miniconda3-latest-Linux-x86_64.sh -u -p /home/user/Downloads/Installation/miniconda
No need to follow the below instruction, make sure to close the terminal for enabling the service or you can reload your shell based on the install.
Links:
- Anaconda: Anaconda AUR Package
- Miniconda: Miniconda AUR Package
Step 1: Clone the Package to Your System
- Click on the
Git Clone URL
and copy the repository link. - Open your terminal and navigate to your desired directory. Here, I'm moving to the
/Downloads/
directory.
git clone https://aur.archlinux.org/packages/anaconda
Once the cloning process completes successfully, proceed to the next step.
Step 2: Install the Package into Your System
- Open a terminal and change directory to where you cloned the repository.
cd /Downloads/anaconda
- Build and install the package using
makepkg
.
makepkg -si
This process will take some time. Once it finishes, proceed to the next steps.
- Locate the installation script, typically named
anaconda_xxxxxx.sh
. Make it executable from the terminal.
sudo chmod +x anaconda_xxxxxx.sh
- Execute the installation script.
sudo ./anaconda_xxxxxx.sh
Follow the on-screen prompts, including reading the agreement and typing yes
to proceed with the setup.
Creating Environment and Example
To activate the base environment:
conda activate base
You'll see (base)
in front of your terminal prompt indicating the base environment is active.
For those who installed Anaconda, you can launch Anaconda Navigator using:
anaconda-navigator
That's it for Anaconda installation.
Miniconda Verification
Verify the Miniconda installation by checking its version:
conda --version
Checking Miniconda Path
To ensure Miniconda's binaries are in your PATH:
echo $PATH
Look for a directory like /path/to/miniconda3/bin
in the output. If it's missing, you'll need to add it to your PATH.
Assuming everything is correct, activate the base environment again:
conda activate base
Opening Jupyter Notebook
Install Jupyter Notebook:
conda install jupyter notebook
Then, launch Jupyter Notebook:
jupyter-notebook
You've successfully run Jupyter Notebook with Miniconda.
Extra Perks
1. Creating a New Conda Environment
Create a new environment specifying Python version and install packages:
conda create -n <env_name> python=<version>
conda activate <env_name>
For example:
conda create -n myenv python=3.9
conda activate myenv
conda install numpy
2. Listing and Deleting Environments
List all environments:
conda env list
Delete an environment:
conda env remove -n <env_name>
3. Deactivating an Environment
Deactivate the current environment:
conda deactivate
For more information on managing environments, refer to this link.
Top comments (1)
git clone aur.archlinux.org/anaconda.git