How to Install Code Blocks on Linux Mint 20
To Install Code Blocks on Linux Mint 20
Introduction:
The Code Blocks is a free, open-source cross-platform IDE that supports multiple compilers including GCC, Clang, and Visual C++ which has its own compilers, code editor, debugger, GUI designer, user migration. This tutorial will cover the installation of Code Blocks on Linux Mint 20.
Installation Procedure:
first of all check the installed version of OS on system
root@LinuxHelp:~# lsb_release -a
No LSB modules are available.
Distributor ID: Linuxmint
Description: Linux Mint 20
Release: 20
Codename: ulyana
Before install code blocks, add the repository
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.
.
.
.
Executing: /tmp/apt-key-gpghome.WbmwKrOXxp/gpg.1.sh --keyserver hkps://keyserver.ubuntu.com:443 --recv-keys 4346FBB158F4022C896164EEE61380B28313A596
gpg: key E61380B28313A596: public key "Launchpad synergy+" imported
gpg: Total number processed: 1
gpg: imported: 1
Now update the packages by using the following command
root@LinuxHelp:~# apt update
Get:1 http://ppa.launchpad.net/eugenesan/ppa/ubuntu focal InRelease [17.5 kB]
Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:3 http://archive.canonical.com/ubuntu focal InRelease
.
.
.
Fetched 5,285 kB in 8s (683 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
403 packages can be upgraded. Run 'apt list --upgradable' to see them.
Once the update is completed then install the code blocks by using the following 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:
.
.
.
Processing triggers for libc-bin (2.31-0ubuntu9) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for shared-mime-info (1.15-1) ...
Processing triggers for desktop-file-utils (0.24+linuxmint1) ...
Open menu bar and search code blocks application and open it
This is the console of Code Blocks application
With this method, the installation of Code Blocks on Linux Mint 20 is comes to an end.
Comments ( 0 )
No comments available