Anaconda Installation

Obtain administrative rights by requesting root access:

$ sudo -i

To download and install Anaconda:

$ wget https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86_64.sh
$ bash Anaconda3-2020.02-Linux-x86_64.sh

Specify the location where Anaconda should be installed. When prompted with [/root/anaconda3] >>>, enter path:

$ /usr/anaconda3

Anaconda is now installed. Edit the Ubuntu system paths to include Anaconda for all users. Open the profile in nano:

$ nano /etc/profile

💡 What is nano? Nano is the default text editor for Ubuntu. This program will be used throughout the tutorial to edit the configuration files of the needed software, enabling full integration into the lab interface. Although there are many shortcuts included in this text editor, the most important for use in this project are the commands CTRL+O then enter which will overwrite a document and CTRL+X which will exit the editor. If you are using MacOS or Linux, nano may already be installed on your machine. To check, type the following line of code in the command line:

nano --version

If the output shows a version number, nano is already installed.

Enter the following into the bottom of the document as shown below.

export PATH="/usr/anaconda3/bin:$PATH

Use CTRL+O then enter to overwrite the document and CTRL+X to exit.

Refresh the paths to include Anaconda by typing:

$ source /etc/profile

Make sure conda is up to date and update all packages to the latest version::

$ conda update -n root conda
$ conda update --all