Use the tarball with exercises

Goal

You can run the example files needed for the exercises

A tarball is a file that contains multiple files, similar to a zip file. To use the files it contains, it needs to be untarred/unzipped/uncompressed first.

Procedure

The procedure has these steps:

Step 1: get the tarball

  • In a terminal, cd to a good directory to keep the exercises (for instance in your just created folder in the project directory)

  • You may create a new folder (mkdir), called exercises or similar).

  • Use the following command to download the file to your current folder:

FIX

wget ...

Step 2: Uncompress the tarball

In a terminal, use the following command to uncompress the file:

FIX

tar -xvzf exercisesDay2.tar.gz

After decompressing, there is a folder called day2, or day3 or day4 that contains the exercises.

Warning

Do you want the whole repo?

  • If you are happy with just the exercises, the tarballs of the language specific ones are enough.

  • By cloning the whole repo, you get all the materials, planning documents, and exercises.

  • If you think this makes sense type this in the command line in the directory you want it. - git clone https://github.com/UPPMAX/HPC-python.git

  • Note however, that if you during exercise work modify files, they will be overwritten if you make git pull (like if the teacher needs to modify something).
    • Then make a copy somewhere else with your answers!