This article mainly describes the specific steps to install anaconda in Ubuntu.
Preparation environment: Ubuntu, Anaconda3
1. Install Anaconda3
Download the Linux version of anaconda from the Tsinghua mirror:
https://mirrors.bfsu.edu.cn/anaconda/archive/
I chose Anaconda3-2022.10-Linux-x86_64.sh
The downloaded file is:
(You can download it to your Windows 11 desktop first, then copy and paste it into the main directory of the Ubuntu virtual machine. If you cannot copy and paste the file, it is because VMware Tools is not installed)
2. Create a new folder named anaconda under the user folder, and put the file you just downloaded in this folder
3. Right-click the folder and click Open in Terminal
Open in terminal.
Fourth, enter the following command line
bash Anaconda3-2022.10-Linux-x86_64.sh
Type yes and press Enter:
5. Enter yes and press Enter
6. Press Enter to select the default installation directory (by default, a folder named anaconda3 is created in the user's home directory as the installation address)
7. Enter yes and press Enter
Eight, the installation is complete
At this time, in the anaconda3 folder of the anaconda installation directory, open the terminal, enter conda list, and you can see the package installed by anaconda: