How to install CodeBlocks for C/C++
CodeBlocks is a very popular IDE for C/C++ which runs on Windows , Mac and Linux platforms. It’s free and open source. Installation prodedure for CodeBlocks is very easy . Let’s see the installation process.
Installing Codeblocks in windows
Step 1: Download the installer
Go to Binary download page for CodeBlocks http://www.codeblocks.org/downloads/26{:target=”_blank”} . You will see available installer there . Download the installer with MinGW compiler, installer filename will be like codeblocks-xx.xxmingw-setup.exe
Step 2: Installing
Run the downloaded installer and install with default options.
Installing CodeBlocks in Ubuntu
Installing from terminal
CodeBlocks will run with default gcc compiler. If you want to write c++ code, you need to add a compiler. To do that , run the following command in the terminal to install g++
and CodeBlocks IDE.
sudo apt-get update |
Installing from Ubuntu Software Center
CodeBlocks is also available in Ubuntu Software Center. You can search and install it.
For details you can also see the documentaion on the official site.
- Ubuntu Wiki for CodeBlocks installation{:target=”_blank”}