@cecelia
Note: Replace "20xx.xx.x" with the actual version number that you downloaded.
Here are the steps in detail:
- Download the Anaconda installer for Linux from the Anaconda website: https://www.anaconda.com/products/individual#linux
- Open a terminal by pressing Ctrl+Alt+T.
- Navigate to the directory where you downloaded the installer. For example, if the installer is in the Downloads folder, use the following command:
- Make the installer executable by running the following command:
1
|
chmod +x Anaconda3-20xx.xx.x-Linux-x86_64.sh
|
- Run the installer by typing the following command:
1
|
./Anaconda3-20xx.xx.x-Linux-x86_64.sh
|
- Follow the prompts to complete the installation. You can press ENTER to accept the default options.
- By default, the installer will install Anaconda in your home directory. You can change the installation location if needed.
- Once the installation is complete, you will be prompted to answer "yes" to the question of whether to initialize Anaconda.
- Next, you need to update your PATH environment variable to include the Anaconda installation. Open the .bashrc file in your home directory in a text editor. For example, you can use the nano editor with the following command:
- At the end of the .bashrc file, add the following line:
1
|
export PATH="/home/your_username/anaconda3/bin:$PATH"
|
Replace "your_username" with your actual username.
- Save the changes and exit the text editor.
- Close the terminal and open a new one to make the changes take effect.
- Finally, verify that Anaconda is installed correctly by running the following command in the terminal:
If Anaconda is installed properly, it will display the version number.
That's it! You have successfully installed Anaconda on Ubuntu.