Jupyter Hub - AWS
  • Overview
  • Pre-requisites
  • Disclaimer
  • AWS: Instance Launching
    • Overview
    • Customizing an Instance
    • Assigning an Elastic IP Address
    • Connecting to Your Cloud
    • Ubuntu: Server Update and Add Users
  • Anaconda
    • Overview
    • Anaconda Installation
    • JupyterHub Installation and Configuration
  • R
    • R Installation
    • Update and Install IR Kernel
  • Stata
    • Overview
    • Stata Installation
    • Stata Kernel for Jupyter
  • (Optional) GitHub Extension and Packages
    • GitHub Extension
    • nbgrader
  • (Optional) Add a Custom Domain
    • Overview
    • Adding a Subdomain
  • (Optional) GitHub Authentication
    • Overview
    • Generate Cookie Secret
    • Secure Your Lab
    • Add GitHub Authentication
Powered by GitBook
On this page
  1. Anaconda

Anaconda Installation

PreviousOverviewNextJupyterHub Installation and Configuration

Last updated 1 year ago

Obtain administrative rights by requesting root access:

sudo -i

To download and install :

wget https://repo.anaconda.com/archive/Anaconda3-2023.09-0-Linux-x86_64.sh
bash Anaconda3-2023.09-0-Linux-x86_64.sh

Write yes till prompted with [/root/anaconda3] >>>, then enter path:

/usr/anaconda3

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

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
Anaconda
nano