Skip to content

Instantly share code, notes, and snippets.

@navin-mohan
Last active August 15, 2017 10:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save navin-mohan/f001dc07da409925ea2e4fa283c0a2df to your computer and use it in GitHub Desktop.
Save navin-mohan/f001dc07da409925ea2e4fa283c0a2df to your computer and use it in GitHub Desktop.
CodeBlocks

Installing CodeBlocks

On Windows XP / Vista / 7 / 8.x / 10

Download the installer from any of the links below.

It includes both the compiler(gcc) and IDE.

Ubuntu

Open your terminal and type in the following commands. Enter you password when prompted.

Installing C Compiler

The following command will install the C compiler and a bunch of other things you will need.

sudo apt-get install build-essential

Installing CodeBlocks IDE

Enter the following commands after installing the C compiler.

sudo add-apt-repository ppa:damien-moore/codeblocks-stable
sudo apt-get update
sudo apt-get install codeblocks codeblocks-contrib

Check out this page for more details.

Other Linux

You can find the binaries here.

MacOS

Download the application from here.

Refer this tutorial for detailed instructions on installation process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment