{"id":9914,"date":"2020-03-25T14:35:04","date_gmt":"2020-03-25T14:35:04","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=9914"},"modified":"2020-03-25T14:35:04","modified_gmt":"2020-03-25T14:35:04","slug":"install-codeblocks-20-03-ubuntu-18-04","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2020\/03\/install-codeblocks-20-03-ubuntu-18-04\/","title":{"rendered":"How to Install Code::Blocks 20.03 in Ubuntu 18.04, 19.10"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/05\/codeblocks-ide-icon.png\" alt=\"Code Blocks IDE\" width=\"245\" height=\"250\" class=\"aligncenter size-full wp-image-5854\" \/><\/p>\n<p>Code::Blocks, open-source C, C++, and Fortran IDE, released version 20.03 a few days ago. Here&#8217;s how to install it in Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.10, and derivatives.<\/p>\n<p>Code::Blocks 20.03 was available for a few days, though it&#8217;s not officially announced in its website. The <a href=\"https:\/\/launchpad.net\/~codeblocks-devs\/+archive\/ubuntu\/release\" rel=\"noopener\" target=\"_blank\">Code::Blocks Developers Team PPA<\/a> has made the packages for all current Ubuntu releases.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/03\/codeblocks2003.png\" alt=\"\" width=\"600\" height=\"389\" class=\"aligncenter size-full wp-image-9915\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/03\/codeblocks2003.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/03\/codeblocks2003-450x292.png 450w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>To install the new IDE version, open terminal either by pressing <b>Ctrl+Alt+T<\/b> on keyboard or by searching for &#8216;terminal&#8217; from application menu. When it opens, do following steps one by one.<\/p>\n<p><b>1.)<\/b> Run command to add the PPA repository:<\/p>\n<pre style=\"border:None;\">sudo add-apt-repository ppa:codeblocks-devs\/release<\/pre>\n<p><i>Type user password (no asterisk feedback) when it prompts and hit Enter to continue.<\/i><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/03\/codeblock-devppa-600x119.jpg\" alt=\"\" width=\"600\" height=\"119\" class=\"aligncenter size-large wp-image-9916\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/03\/codeblock-devppa-600x119.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/03\/codeblock-devppa-450x90.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/03\/codeblock-devppa.jpg 754w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>2.)<\/b> If an old version was installed on your system, upgrade it via Software Updater:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/03\/upgrade-codeblocks.png\" alt=\"\" width=\"450\" height=\"327\" class=\"aligncenter size-full wp-image-9917\" \/><\/p>\n<p>or run commands one by one in terminal to install the IDE:<\/p>\n<pre style=\"border:none;\">sudo apt update\r\n\r\nsudo apt install codeblocks codeblocks-contrib<\/pre>\n<p>Once installed, launch it from your system application menu and enjoy!<\/p>\n<h4>Uninstall Code::Blocks<\/h4>\n<p>To remove the PPA repository, either go to <i>Software &#038; Updates -> Other Software<\/i>, or run command in terminal:<\/p>\n<pre style=\"border:None;\">sudo add-apt-repository --remove ppa:codeblocks-devs\/release<\/pre>\n<p>And remove Code::Blocks if you want via command:<\/p>\n<pre style=\"border:none;\">sudo apt remove --autoremove codeblocks codeblocks-contrib<\/pre>","protected":false},"excerpt":{"rendered":"<p>Code::Blocks, open-source C, C++, and Fortran IDE, released version 20.03 a few days ago. Here&#8217;s how to install it in Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.10, and derivatives. Code::Blocks 20.03 was available for a few days, though it&#8217;s not officially announced in its website. The Code::Blocks Developers Team PPA has made the packages for all [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,6],"tags":[1894,1344],"class_list":["post-9914","post","type-post","status-publish","format-standard","hentry","category-howtos","category-news","tag-c-ide","tag-codeblocks-ide"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/9914","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=9914"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/9914\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=9914"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=9914"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=9914"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}