1. Download Anaconda:
2. Open a terminal:
Open a terminal window and use the `cd` command to enter the folder where you downloaded Anaconda. For example, if the file is in the Downloads folder, you can execute the following command:
cd ~/Downloads
3. Run the Anaconda installation script:
Run the Anaconda installation script using the following command (replace the filename with the actual filename you downloaded):
bash Anaconda3-<版本号>-Linux-x86_64.sh
Follow the on-screen prompts.
4. Configure Anaconda:
After the installation is complete, Anaconda needs to be configured. Following the on-screen prompts, you can choose whether to add Anaconda to your system's `PATH`. Select "yes" to use Anaconda in the terminal.
5. Activate Anaconda:
In the terminal, run the following command to activate Anaconda:
source ~/.bashrc
Or, restart the terminal to make the configuration take effect.
6. Verify Anaconda installation:
Run the following command to verify that Anaconda was installed successfully:
conda --version
After successful installation, entering this command will display the conda version number.