Software

 

Virtual Machine for the Lecture

We prepared a virtual machine containing all the required software for this course. Please proceed as follows:

  1. Install VirtualBox. Please choose the binary for your platform below the index tab "VirtualBox binaries".
  2. Download the virtual machine here (size about 2.0 GB). Checksum: SHA-256: a705765b290e4bc253c639e8707fdb7838a6a259781ee11bbdc6b7a3549820c2
  3. Open VirtualBox. In the menu 'File' please select the option 'Import Appliance' and import the file 'prog2_vm.ova'.
  4. After completing the import, you should see an entry with the name 'Prog2'. Select the entry 'Prog2' and press 'Start'. The VM should boot directly to the Desktop. On the Desktop, you find shortcuts for all the programs important for the lecture.

The password for both the user 'prog2' as well as 'root' is 'prog2'.

 

Mac with Apple M1 Chip

The virtual machine does not work on Macs with an Apple M1 chip. You can use this docker container instead. 

In the forum you can find a description to prepare your system for Prog2. Our experience has shown that using MacOS directly, as it is a Unix system, is the less troublesome route for students

Configuration

Increase screen resolution


The screen resolution should automatically adapt to the resolution of the host system. If that is not the case, try the following:

  1. Right-Click on the VM image 'Prog2'.
  2. Go to 'Settings -> Display -> Screen -> Video Memory' and increase the memory to at least 32 MB.

 

Mounting shared folders


When working with the virtual machine, it is convenient to share a folder with the host system. To this end, proceed as follows:

  1. Right-Click on the VM image 'Prog2'.
  2. Go to 'Settings' -> 'Shared Folders'
  3. Press the "+" button on the right to add a new shared folder.
  4. For the folder path, enter the path to the directory of your host system you want to share, e.g. '/home/myuser/shared/'.
  5. For "Folder Name" enter the name under which the virtual machine should recognize this folder.
  6. Select the options "auto-mount" and (if applicable) "Make permanent". This option is only visible when the virtual machine is running. If the virtual machine is not running, the shared folder is permanent automatically.

In the virtual machine, you will find the shortcut to "SHARED_FOLDER" on the desktop after the next boot. Alternatively, you can locate the folder in "/media".

 

Installing the Software manually


You may also install the required software for the lecture directly in your system:

Except for MARS, the programs above are available in most package management systems.

Important Note: Please note that your submissions must ultimately work on the virtual machine. This means that, even when you do not use the virtual machine, you must still ensure that your submissions work on the virtual machine as expected.

Privacy Policy | Legal Notice
If you encounter technical problems, please contact the administrators.