프로그래밍/파이썬
Ubuntu에서 아나콘다 설치하기
낼은어떻게
2023. 2. 6. 12:26
To use Anaconda on Ubuntu, you need to first install the Anaconda distribution. Here's a step-by-step guide:
- Download the Anaconda installation script from the Anaconda website: https://www.anaconda.com/products/distribution
- Open a terminal window and navigate to the directory where you saved the installation script.
- Make the script executable with the following command:
bashCopy code
chmod +x Anaconda3-*.sh
- Run the installation script with the following command:
Copy code
./Anaconda3-*.sh
- Follow the on-screen instructions to complete the installation process. By default, Anaconda will be installed in the /home/username/anaconda3 directory, where username is your user name.
- Update the PATH environment variable to include the Anaconda binary directory by adding the following line to your .bashrc file:
bashCopy code
export PATH="$HOME/anaconda3/bin:$PATH"
- Restart the terminal or run the following command to activate the changes:
bashCopy code
source ~/.bashrc
Once you've completed these steps, you should be able to use Anaconda on your Ubuntu system. You can start the Anaconda Navigator GUI by running the following command in a terminal:
Copy code
anaconda-navigator
Alternatively, you can use the Anaconda command-line interface by running the conda command in a terminal.