Install some basic tool

This lesson will introduce you to ways to compile and run C code on your personal computer based on your operating system.

No matter which operating system you are using (GNU/Linux, Mac, Windows), you will need at least two things:

  1. A way to edit source code files
  2. A C compiler (& debugger)

GNU/Linux

You have it easy. Most GNU/Linux distributions include a package manager that allows you to quickly and easily install software from centralized, up-to-date repositories.

Compiler

If you are using Ubuntu, just open up a Terminal and type the following command to install the tools you will need:

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy