All pastes #2132932 Raw Edit

Anonymous

public text v1 · immutable
#2132932 ·published 2012-03-27 19:50 UTC
rendered paste body
1. Boot VM image (read assignment pdf for instruction)
2. Right-click desktop > System > Control Panel
3. Click 'Select Mirror'
4. Enter distro.ibiblio.org/damnsmall in the URL textfield, click OK
5. Open a terminal window: Right-click desktop > XShells > pick a shell
6. In the terminal window, enter: "sudo dpkg-restore"
7. Right-click desktop > MyDSL > MyDSL Browser (when prompted to download the database, click 'Yes')
8. Click "+  testing", click "compile-3.3.5.uci", click 'Install Selected'
9. Open a terminal window
10. In the terminal window, enter: "sudo apt-get install gdb"
11. In the terminal window, enter "export C_INCLUDE_PATH=/opt/compile-3.3.5/include"

Now you can can compile C programs with gcc and run them with gdb.
If gcc complains that it can't find stdio.h, repeat step 11 and then try again.