This article mainly describes the specific steps to install anaconda in Ubuntu
Preparation environment: Ubuntu22.04.1, Anaconda3
1. Download Anaconda3
from the Tsinghua mirror to download the Linux version of anaconda
Tsinghua mirror official website Anaconda download
I chose Anaconda3-2023.03-Linux-x86_64.sh
The downloaded Anaconda3-2023.03-Linux-x86_64.sh is shown in the figure:
2. Create a new folder named anaconda under the user folder, and put the file just downloaded in this folder
3. Right-click the folder, click Open in Terminal
4. Enter the following command line
bash Anaconda3-2023.03-Linux-x86_64.sh
Type yes and press Enter
5. Next is a bunch of agreements, keep pressing the Enter key to skip.
Stop pressing the Enter key when there are new problems.
6. Enter yes and press the Enter key
. 7. Press the Enter key to select the default installation directory ( By default, a folder named anaconda3 is created in the user's home directory as the installation address), wait for the installation to complete
8. Enter yes, and press Enter
to complete the installation
9. At this time, open the terminal in the anaconda3 folder of the anaconda installation directory
10. Enter conda list, you can see the package installed by anaconda, verify that the anaconda installation is complete
After the installation is complete, delete the previously created anaconda folder and installation package