Rate This Document
Findability
Accuracy
Completeness
Readability

Installing Anaconda

Procedure

  1. Obtain the Anaconda installation package.
    wget https://repo.anaconda.com/archive/Anaconda3-2021.11-Linux-aarch64.sh
  2. Install Anaconda.
    bash Anaconda3-2021.11-Linux-aarch64.sh
    1. When the following information is displayed, press Enter.

    2. When the following information is displayed, type q.

    3. When the following information is displayed, type yes and press Enter.

    4. On the screen shown in the following figure, type a desired Anaconda installation path. You can also press Enter to select the default installation path /root/anaconda3.

    5. Press Enter. No initialization operations will be performed.

  3. Set the conda environment variables.
    1. Set the environment variables.
      source /root/anaconda3/etc/profile.d/conda.sh
    2. Check whether conda has taken effect.
      conda -version

    3. Initialize conda.
      conda init bash
    4. Restart the shell. You can see that conda has entered the base environment.

  4. Configure and update conda.
    conda config --set auto_activate_base False
    conda config --set auto_update_conda False
    conda config --set channel_priority flexible
    conda update --all -n base

    If the update is required, type y and press Enter.