How do you install Conda in Ubuntu?
Here is the method to install conda in Ubuntu:
- Firstly, download the conda installation package from the official Anaconda website that is suitable for Ubuntu (usually a .sh file).
- Open the terminal and navigate to the directory where the downloaded conda installation package is located.
- Run the following command to convert the conda installation package into an executable file:
- Change the permissions of the conda installation package to make it executable.
- Run the following command to execute the conda installation program:
- Install the Conda package named
.sh. - Follow the instructions given during the installation process. You can choose the installation path, by default conda will be installed in the $HOME directory.
- After installation is complete, the terminal will prompt whether to initialize conda. By default, select “yes”.
- Close and reopen the terminal to apply the changes made to conda.
- You can verify whether Conda has been successfully installed by running the following command:
- What version of conda do you have?
After completing the above steps, conda has been successfully installed on the Ubuntu system.