| Table of Contents |
|---|
| Ubuntu and Debian |
| Fedora |
| RHEL |
Ubuntu and Debian
Supported versions:
- Ubuntu 22.04, 20.04 / Debian 11, 10 and Sid - Builds are automatically generated with CI.
- Ubuntu 21.10, 21.04 / Debian 9 and below - Supported but not built automatically.
If you want to build CodeCTRL from source, you will need the following dependencies:
libglib2.0-devlibpango1.0-devlibgdk-pixbuf-2.0-dev(on 20.04/Debian 10 uselibgdk-pixbuf2.0-dev)libatk1.0-devlibgtk-3-devlibxcb-shape0-devlibxcb-xfixes0-dev
Or just execute the either of the commands following depending on your distribution:
Ubuntu 21.04+ / Debian 11+ / Debian Sid:
# apt install libglib2.0-dev libpango1.0-dev libgdk-pixbuf-2.0-dev libatk1.0-dev libgtk-3-dev libxcb-shape0-dev libxcb-xfixes0-dev -yUbuntu 20.04 / Debian 10:
# apt install libglib2.0-dev libpango1.0-dev libgdk-pixbuf2.0-dev libatk1.0-dev libgtk-3-dev libxcb-shape0-dev libxcb-xfixes0-dev -y
You will also need to install the following extra packages too:
gcc/clangcmakebuild-essential
Which can be installed if you copy and paste this command into your terminal:
# apt install build-essential gcc clang cmake -y
Fedora
Supported versions:
- Fedora Rawhide and 36 - Builds automatically generated with CI.
- Fedora 34 and 35 - Supported but not generated automatically.
If you want to build CodeCTRL from source, you will need the following dependencies:
gobject-introspection-develcairo-develatk-develpango-develgdk-pixbuf2-develgtk3-devel
Or just execute the following command:
# dnf install gobject-introspection-devel cairo-devel atk-devel pango-devel gdk-pixbuf2-devel gtk3-devel -y
You will also need to install the following extra packages too:
gcc/clangcmake- The
Development Toolsgroup (# dnf groupinstall "Development Tools" -y)
RHEL - Red Hat Enterprise Linux
Supported versions:
- 7, 8 and 9 - Builds automatically generated with CI.
- 6 and below - Not supported but you may still be able to build.
If you want to build CodeCTRL from source, you will need the following dependencies:
gobject-introspection-develcairo-develatk-develpango-develgdk-pixbuf2-develgtk3-devel
You will also need to install the following extra packages too:
gcc/clangcmake- The
Development Toolsgroup (# dnf/yum groupinstall "Development Tools" -y)
RHEL 7
There’s a couple of steps to be able to build CodeCTRL on RHEL 7-based distributions.
- Enable the
epel-releaserepository:# yum install epel-release - Install
cmake3:# yum install cmake3(if you already havecmakeinstalled. issue the following too:# yum remove cmake) - Soft-link
cmake3to/usr/bin/cmake:# ln -s /usr/bin/cmake3 /usr/bin/cmake
Then you can execute the following command:
# yum install gobject-introspection-devel cairo-devel atk-devel pango-devel gdk-pixbuf2-devel gtk3-devel -y
RHEL 8
Just execute the following command:
# dnf install gobject-introspection-devel cairo-devel atk-devel pango-devel gdk-pixbuf2-devel gtk3-devel -y
RHEL 9
Just execute the following command:
# dnf --enablerepo=crb install gobject-introspection-devel cairo-devel atk-devel pango-devel gdk-pixbuf2-devel gtk3-devel -y
You can now go back to the Building page and follow the rest of the instructions.