What are the steps to install Conda on Linux?

The steps to install Conda are as follows:

  1. On the Anaconda official website, select the Anaconda version suitable for Linux systems and download the corresponding installation package (usually a .sh file).
  2. Open the terminal and navigate to the directory where the file is downloaded.
  3. Execute the following command to grant execution permission to the installation package:
  4. Make the file 文件名.sh executable.
  5. Run the following command to execute the installation program:
  6. Run the file named “filename.sh”
  7. Note: Replace the filename.sh with the actual filename of the downloaded installation package.
  8. During the installation process, there will be some prompts and options that you need to confirm. In most cases, you can just use the default options. Follow the prompts and continue with the installation until it is complete.
  9. After installation is complete, you need to close and reopen the terminal, or run the following command to make Conda take effect:
  10. Execute the .bashrc file.
  11. To verify if Conda is successfully installed, run the following command:
  12. What is the version of conda?
  13. If the version number of Conda is displayed, it means that the installation was successful.

Now you can use Conda to create and manage Python environments.

bannerAds