• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install Codeblocks on Linux Mint 20.2

{{postValue.id}}

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

Snap 1

Snap 2

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.

Tags:
connor
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What are Code Blocks?

A

The Code Blocks is a free, open-source cross-platform IDE that supports multiple compilers including GCC, Clang, and Visual C++. It has its own compilers, code editor, debugger, GUI designer, user migration, and more.

Q

What is the supported platform for code blocks?

A

The supported platform for code blocks are windows, Linux, and mac OS

Q

How to install code blocks in the terminal?

A

Install code blocks in the terminal by executing the following command # apt-get install codeblocks -y

Q

What is the command to add the repository to the system?

A

The command to add the repository to the system is # add-apt-repository ppa:eugenesan/ppa

Q

What can I do with Code Blocks?

A

CodeBlocks is a cross-platform C++ IDE (Integrated Development Environment) that allows developers to code, debug, build, run and deploy projects.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Lucas ?
Various options in Top command

Am using Top command only to view the load average, what are the various options in Top command..??

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.