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.
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.
emerge --ask dev-util/codeblocks
This installs the IDE and pulls in the required dependencies.
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.
emerge --ask sys-devel/gcc
emerge --ask sys-devel/gdb
Install GCC for building and GDB for debugging inside the IDE.
codeblocks
Launch the IDE and point it to your compiler toolchain if it asks on first start.
Quality, Reliability & Service