Install Anaconda on Ubuntu

0. Realted Document

Mirror-and-Proxy-Summary

Install Tutorial

1. Download sh File

1
wget https://repo.anaconda.com/archive/Anaconda3-2024.06-1-Linux-x86_64.sh

or

1
wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-2024.06-1-Linux-x86_64.sh

or

1
wget https://mirrors.sustech.edu.cn/anaconda/archive/Anaconda3-2024.06-1-Linux-x86_64.sh
1
--user-agent="Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36"

2. Excute

Execute script:

1
bash  Anaconda3-2024.06-1-Linux-x86_64.sh
1
source ~/.bashrc

Question

Q1: ‘Conda Command Not Found’

Solving the ‘Conda Command Not Found’ Issue After Installing Anaconda3

Add Conda to the PATH

1
nano ~/.bashrc

Add the following line at the end of the file:

1
export PATH=~/anaconda3/bin:$PATH

Q2: How to delete a conda-env

1
conda remove -n ENV_NAME --all

Install Anaconda on Ubuntu
https://www.hardyhu.cn/2024/09/09/Install-Anaconda-on-Ubuntu/
Author
John Doe
Posted on
September 9, 2024
Licensed under