Brooks Computing Systems
Install Code::Blocks on Gentoo
Brooks Computing Systems - Jacksonville
Dark
Light

emerge --sync
emerge -uDN @world

Start with a full sync and world update before installing Code::Blocks.

Gentoo Linux logo

mkdir -p /etc/portage/package.use
echo "dev-util/codeblocks wxwidgets" >> /etc/portage/package.use/codeblocks
echo "x11-libs/wxGTK gtk3 X" >> /etc/portage/package.use/wxgtk

Code::Blocks uses wxWidgets. These flags make sure the correct GUI support is enabled.

wxWidgets logo

emerge --ask dev-util/codeblocks

This installs the IDE and pulls in the required dependencies.

Code::Blocks logo

eselect wxwidgets list
eselect wxwidgets set wxGTK3
emerge -1 dev-util/codeblocks

If Gentoo picks the wrong wxWidgets target, set the GTK3 one and rebuild.

GTK3 screenshot

emerge --ask sys-devel/gcc
emerge --ask sys-devel/gdb

Install GCC for building and GDB for debugging inside the IDE.

GCC logo

codeblocks

Launch the IDE and point it to your compiler toolchain if it asks on first start.

Code::Blocks icon
Quality, Reliability & Service
Quality, Reliability & Service
Thank You For Visiting
Brooks Computing Systems - Jacksonville
Visit https://bcs.archman.us