Installation

I recommend setting up the environment using Conda. Here are the installation and usage instructions for Conda.

1) Download the installation package by logging into the server and entering the following command:

wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh

2) Execute the installation package by running the following command:

bash Miniconda3-latest-Linux-x86_64.sh

3) Keep all the default configurations. When prompted with "yes/no," choose "yes" and press enter for the rest of the prompts.

4) When prompted with the message to activate Conda environment, enter "yes" to activate it automatically.

5) Once the installation is complete, you will see the following message:

6) Activate the Conda environment by running the following command:

source ~/.bashrc

7) If the command line shows (base) prefix, it means the installation is complete.

8) You can check the Python and Conda versions in the existing environment by using the following commands:

python --version
conda --version

9) (Optional but not recommended) If you want to set conda-forge as the primary update channel, you can follow these steps. Note that conda-forge packages are usually more up-to-date than conda packages, but they may have lower stability and reliability. This can potentially cause process freezing due to version conflicts during future upgrades. It is not recommended for regular users.

conda config --add channels conda-forge
conda config --set channel_priority strict

Last update: September 16, 2023