Skip to content

Latest commit

 

History

History
66 lines (35 loc) · 2.74 KB

install_instruction_linux.md

File metadata and controls

66 lines (35 loc) · 2.74 KB

Back to main page

Installation instruction - Linux system

These steps have been tested on a Linux Mint 18, a variant of the Ubuntu flavour of linux systems.

Installing the Anaconda environment

In order to run the exercices from the course, you will need to setup and install anaconda for python 3.

On the [anaconda website](https://www.anaconda.com/distribution/), download the python 3.7 version of anaconda. ake sure you are downloading the version that matches your processor type (you should download the x86 installer)

In the folder where you downloaded the installation script, run the latter using bash Anaconda3-2019.10-Linux-x86_64.sh. Type enter to start the process

Click here for image

Scroll through the licence agreement by pressing the return key. At the end, type yes to accept the license terms and conditions.

Click here for image

Anaconda provides you with a default path where it will install the relevant software. It is recommended that you change this directory name, like the example shown here. Once you have entered a new path name, type the return key and the installation will proceed.

Click here for image

Once the installation is finished, you will be asked if you ant to initialize the environment. Type no to this step.

Click here for image

Move to your home folder by typing cd. Open a file named .bashrc, and add the following line at the bottom of the file: alias anaconda3="export PATH=/home/username/some_path_name/bin:$PATH;source /home/username/some_path_name/bin/activate"

Close your terminal and open a new one. When you type in anaconda3, your new anaconda environment should load. You are then ready to work on your notebooks.

Clone the course repository

  • Open a terminal window.

  • If you don't have git installed on your laptop, install it by following these instructions

  • Clone the Applied ML repository using the command git clone https://github.com/AppliedMachineLearningNBI/AppliedML2023.git .

Feel free to choose another name for your folder, or just use "." if you want to use the same name (i.e. "AppliedML2023"), which is default/common.

  • You now have a local copy of the repository

Make sure you run the command anaconda3 before running a notebook.