How to Install Code Blocks on Linux Mint 21

0
2036
How to Install Code Blocks on Linux Mint 21
How to Install Code Blocks on Linux Mint 21

This guide will go through how to install code blocks on Linux Mint 21. Code::Blocks is a free, open-source cross-platform IDE that supports several compilers such as GCC, Clang and Visual C++.

Table of Contents

- Advertisement -

Install Code Blocks on Linux Mint 21

Update Linux Mint using the command below.

sudo apt update

Then install Code Blocks using the following command.

sudo apt install codeblocks

Sample output

Reading package lists... Done
Building dependency tree... Done
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
  libutempter0 libwxbase3.0-0v5 libwxgtk3.0-gtk3-0v5 xterm
0 upgraded, 9 newly installed, 0 to remove and 77 not upgraded.
Need to get 13.8 MB of archives.
After this operation, 42.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu jammy/universe amd64 codeblocks-common all 20.03-3.1 [3,751 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libastyle3 amd64 3.1-2build1 [104 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libtinyxml2.6.2v5 amd64 2.6.2-6 [33.0 kB]
Get:4 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libwxbase3.0-0v5 amd64 3.0.5.1+dfsg-4 [881 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libwxgtk3.0-gtk3-0v5 amd64 3.0.5.1+dfsg-4 [4,368 kB]
Get:6 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libcodeblocks0 amd64 20.03-3.1 [1,980 kB]
Get:7 http://archive.ubuntu.com/ubuntu jammy/universe amd64 codeblocks amd64 20.03-3.1 [1,822 kB]
Get:8 http://archive.ubuntu.com/ubuntu jammy/main amd64 libutempter0 amd64 1.2.1-2build2 [8,848 B]
Get:9 http://archive.ubuntu.com/ubuntu jammy/universe amd64 xterm amd64 372-1ubuntu1 [857 kB]
Fetched 13.8 MB in 2min 38s (87.6 kB/s)                                      
Selecting previously unselected package codeblocks-common.
(Reading database ... 320639 files and directories currently installed.)
Preparing to unpack .../0-codeblocks-common_20.03-3.1_all.deb ...
Unpacking codeblocks-common (20.03-3.1) ...
Selecting previously unselected package libastyle3:amd64.
Preparing to unpack .../1-libastyle3_3.1-2build1_amd64.deb ...
Unpacking libastyle3:amd64 (3.1-2build1) ...
Selecting previously unselected package libtinyxml2.6.2v5:amd64.
Preparing to unpack .../2-libtinyxml2.6.2v5_2.6.2-6_amd64.deb ...
Unpacking libtinyxml2.6.2v5:amd64 (2.6.2-6) ...
Selecting previously unselected package libwxbase3.0-0v5:amd64.
Preparing to unpack .../3-libwxbase3.0-0v5_3.0.5.1+dfsg-4_amd64.deb ...
Unpacking libwxbase3.0-0v5:amd64 (3.0.5.1+dfsg-4) ...
Selecting previously unselected package libwxgtk3.0-gtk3-0v5:amd64.
Preparing to unpack .../4-libwxgtk3.0-gtk3-0v5_3.0.5.1+dfsg-4_amd64.deb ...
Unpacking libwxgtk3.0-gtk3-0v5:amd64 (3.0.5.1+dfsg-4) ...
Selecting previously unselected package libcodeblocks0.
Preparing to unpack .../5-libcodeblocks0_20.03-3.1_amd64.deb ...
Unpacking libcodeblocks0 (20.03-3.1) ...
Selecting previously unselected package codeblocks.
Preparing to unpack .../6-codeblocks_20.03-3.1_amd64.deb ...
Unpacking codeblocks (20.03-3.1) ...
Selecting previously unselected package libutempter0:amd64.
Preparing to unpack .../7-libutempter0_1.2.1-2build2_amd64.deb ...
Unpacking libutempter0:amd64 (1.2.1-2build2) ...
Selecting previously unselected package xterm.
Preparing to unpack .../8-xterm_372-1ubuntu1_amd64.deb ...
Unpacking xterm (372-1ubuntu1) ...
Setting up libastyle3:amd64 (3.1-2build1) ...
Setting up libtinyxml2.6.2v5:amd64 (2.6.2-6) ...
Setting up libutempter0:amd64 (1.2.1-2build2) ...
Setting up codeblocks-common (20.03-3.1) ...
Setting up libwxbase3.0-0v5:amd64 (3.0.5.1+dfsg-4) ...
Setting up xterm (372-1ubuntu1) ...
Setting up libwxgtk3.0-gtk3-0v5:amd64 (3.0.5.1+dfsg-4) ...
Setting up libcodeblocks0 (20.03-3.1) ...
Setting up codeblocks (20.03-3.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for doc-base (0.11.1) ...
Processing 2 added doc-base files...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for shared-mime-info (2.1-2) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for desktop-file-utils (0.26+mint1+vanessa) ...

Code blocks can be launched using the command below.

codeblocks

It can also be launched from the application menu.

How to Install Code Blocks on Linux Mint 21
How to Install Code Blocks on Linux Mint 21

Select GCC compiler and click OK to continue.

How to Install Code Blocks on Linux Mint 21
How to Install Code Blocks on Linux Mint 21

Code blocks user interface.

How to Install Code Blocks on Linux Mint 21
How to Install Code Blocks on Linux Mint 21

How to Uninstall on Linux Mint 21

Run the command below to remove Code Blocks from your system.

sudo apt purge --autoremove codeblocks

You have reached the end of our article on how to install Code Blocks on Linux Mint 21. Cheers!

Read more about Code::Blocks

Other Tutorials

How to Install Code Blocks on Ubuntu 22.04

Install Rust on Linux Mint 21

How to Install Google Chrome on Rocky Linux 9/AlmaLinux 9

LEAVE A REPLY

Please enter your comment!
Please enter your name here