Install Anaconda on Linux: Step-by-Step Guide
The method to install Anaconda on a Linux system is as follows:
- Firstly, download the Anaconda installation package for Linux from the official Anaconda website (https://www.anaconda.com/products/distribution). Choose the appropriate version, such as Python 3.7 or Python 3.8.
- Open the terminal and use the following command to download the Anaconda installation package:
wget https://repo.anaconda.com/archive/Anaconda3-2020.11-Linux-x86_64.sh
- Run the installation script using the following command:
bash Anaconda3-2020.11-Linux-x86_64.sh
- During the installation process, there will be some prompts to follow for settings. Typically, you will need to agree to the license agreement and choose an installation path.
- After installation is complete, you will need to reload the terminal configuration file in order for Anaconda to take effect. You can do this by using the following command:
source ~/.bashrc
- Finally, you can use the following command to check if Anaconda has been successfully installed and to view the current version of Python installed:
conda --version
python --version
You have successfully installed Anaconda on your Linux system. You can now manage Python environments and packages using the conda command.