What are the steps for installing Miniconda on Linux?
The steps to install Miniconda are as follows:
- Download the Miniconda installer:
Visit the official website at https://docs.conda.io/en/latest/miniconda.html to download the Miniconda installer suitable for your operating system (Linux, Windows, or MacOS). - To install Miniconda, navigate to the directory where the Miniconda installation package is located in the terminal, and run the following command to install it.
- Execute Miniconda3-latest-Linux-x86_64.sh in the bash shell.
- Follow the prompts step by step to install, where you can choose the installation path, whether to add conda to PATH, and other options.
- Setting up the conda environment:
After installation, you need to run the following commands to configure the conda environment. - Execute the “.bashrc” file and then initialize Conda.
- To verify the installation of conda, enter the following command in the terminal.
- What is the version of conda?
At this point, Miniconda has been successfully installed on your Linux system. You can now use conda to manage Python environments and packages.