How to install Codeblocks on Linux Mint 20.2
To install Code::Blocks on Linux Mint 20.2
Introduction:
Code::Blocks is a free, open-source cross-platform IDE that supports multiple compilers including GCC, Clang and Visual C++. It is developed in C++ using wxWidgets as the GUI toolkit. Using a plugin architecture, its capabilities and features are defined by the provided plugins.
Installation Procedure:
Step 1: Check the current OS version by using the below command
root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID: Linuxmint
Description: Linux Mint 20.2
Release: 20.2
Codename: uma
Step 2: Before install code blocks, add the repository by using the below command
root@linuxhelp:~# add-apt-repository ppa:eugenesan/ppa
You are about to add the following PPA:
This repository contains collection of customized, updated, ported and backported
packages for two last LTS releases and latest pre-LTS release.
Packages for older releases relocated to ppa:eugenesan/archive or deleted.
-
$ wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -
$ wget -q http://repo.ajenti.org/debian/key -O- | sudo apt-key add -
$ wget -q http://ddebs.ubuntu.com/dbgsym-release-key.asc -O- | sudo apt-key add -
* Update gwoffice
* Report bug on mdadm bug with 0.90 arrays on 2TB+0.90 on 64bit systems
* Report HeandBreak on amd64
More info: https://launchpad.net/~eugenesan/+archive/ubuntu/ppa
Press Enter to continue or Ctrl+C to cancel
Executing: /tmp/apt-key-gpghome.AEkwf6nAYz/gpg.1.sh --keyserver hkps://keyserver.ubuntu.com:443 --recv-keys 4346FBB158F4022C896164EEE61380B28313A596
Step 3: Update the repository by using the below command
root@linuxhelp:~# apt update
Hit:1 http://archive.canonical.com/ubuntu focal InRelease
Get:2 http://ppa.launchpad.net/eugenesan/ppa/ubuntu focal InRelease [17.5 kB]
Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease
Get:4 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Ign:5 http://packages.linuxmint.com uma InRelease
Get:6 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Hit:7 http://packages.linuxmint.com uma Release
Get:18 http://archive.ubuntu.com/ubuntu focal-updates/main Translation-en [306 kB]
Get:19 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [280 kB]
Get:20 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [391 kB]
Get:21 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [940 B]
Get:22 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 DEP-11 Metadata [7,980 B]
Get:23 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [30.5 kB]
Reading package lists... Done
Step 4: After the update is completed need to install the codeblocks by using the below command
root@linuxhelp:~# apt install codeblocks -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
codeblocks-common libastyle3 libcodeblocks0 libtinyxml2.6.2v5 libutempter0
libwxbase3.0-0v5 libwxgtk3.0-gtk3-0v5 xterm
Suggested packages:
codeblocks-contrib libwxgtk3.0-dev xfonts-cyrillic
The following NEW packages will be installed:
codeblocks codeblocks-common libastyle3 libcodeblocks0 libtinyxml2.6.2v5
Step 5: Now we need to Open menu bar and search code blocks as shown in the below images


Step 6: After that click on the code blocks, now we can see the console of code blocks
Conclusion:
We have reached the end of this article. In this guide, we have walked you through the steps required to install Codeblocks on Linux Mint 20. Your feedback is much welcome.
Comments ( 0 )
No comments available