1. First download the installation tool wget
CentOS:
yum install wget -y
Debian/Ubuntu:
apt-get install -y wget
2. Start the installation
wget https://repo.anaconda.com/archive/Anaconda3-2020.11-Linux-x86_64.sh
The url comes from the official website of anaconda https://www.anaconda.com/products/individual
, you can use mine directly.
Wait for the download to complete:
enter after completion
ls
Check if there is this file in the current directory:
Anaconda3-5.3.0-Linux-x86_64.sh is enough, and the
others are the ones I downloaded before.
Add executable permission to this file:
chmod u+x Anaconda3-2020.11-Linux-x86_64.sh
Then execute:
./Anaconda3-2020.11-Linux-x86_64.sh
Then read the license:
you can keep pressing "enter" to read, or just type "q" to exit.
Then type "yes" to accept the license:
press enter now, not more.
Waiting to install.....
After the installation is complete, you are asked whether to add the environment variable of Anaconda. For the convenience of future use, enter "yes" here.
Successful installation!
Enter the command to check the version
conda -V
Well, the installation was successful.