How To
Packages
For most programming assignments, I will give you starter code and other stuff using a tar file.
Suppose I give you a link like this: bases-and-bits-package.tar. You will need to do two things to get started:
- Move a copy of this tar file to your account on mantis.mathcs.carleton.edu
- Extract the contents of the tar file
Getting the tar file to mantis
Option 1: point and click
- download the tar file from the browser to your own computer like you would download any document: click on the link (or right-click and select "Download")
- in another tab, login to JupyterHub, and from there to mantis
- drag-and-drop the tar file onto mantis in the JupyterHub interface
Option 2: old-school
- copy the link to the tar file (e.g., right-click on the link and select "copy link")
- in a terminal on JupyterHub, login to mantis
- cd to your working directory for this class
wget [pasted link]
Extracting the tar file
- get a terminal logged into mantis
- cd to your working directory
lsto make sure your tar file is in this directorytar xvf bases-and-bits-package.tarlsagain to see that there's now abases-and-bits-packagefolder containing the starter code, etc.