(Optional) To remove Code::Blocks IDE, use Synaptic Package Manager or run the command below in terminal: sudo apt remove codeblocks & sudo apt autoremoveĪnd the PPA can be removed via Software & Updates utility -> Other Software tab. You may need to log out and log in back after installation to make it available in Unity Dash/App Launcher.ģ. Or just run the commands below one by one to do update and install the software: sudo apt update If you have Synaptic Package Manager, you can now launch it, search for and install the IDE after clicking Refresh. Type in password (no visual feedback) when it asks and hit Enter to add PPA.Ģ. When it opens, paste the command below and hit run: sudo add-apt-repository ppa:damien-moore/codeblocks-stable Open terminal from Unity Dash or by pressing Ctrl+Alt+T combination key. The next step, don’t do anything, just click the Next > button to install packages.
Now click I Agree to accept the license agreement.
Add Code::Blocks Stable PPA, so you can receive future software updates along with system updates using Software Updater. Download CodeBlocks IDE online installer (Ex: ) Double-click to run the downloaded installer and click the Next > button.
#Install codeblocks on ubuntu how to
While Ubuntu provides the old Code::Blocks 13.12 release in its universe repository, this tutorial shows you how to install the latest stable Code::Blocks 16.01 using PPA.ġ.
Code::Blocks is an open-source, cross-platform, full-featured C, C++, and Fortran IDE designed to be very extensible and fully configurable.