Exercise 0. The Setup

The traditional first exercise, Excercise 0, is where you set up your computer for the rest of this book. In this exercise you’ll install packages and software depending on the type of computer you have.

If you have problems following this exercise, then simply watch the Exercise 0 video for your computer and follow along with my setup instructions. That video should demonstrate how to do each step and help you solve any problems that might come up.


Linux is most likely the easiest system to configure for C development. For Debian systems you run this command from the command line:

$ sudo apt−get install build−essential

Here’s how you would install the same setup on an RPM-based Linux ...

Get Learn C the Hard Way: A Clear & Direct Introduction To Modern C Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.