Ubuntu and Debian repository instructions

Short answer. On Ubuntu 20.04, 22.04 or 24.04, or on Debian 11 or 12 (and on derivatives such as Linux Mint), run curl -fsSL https://repo.codeit.guru/setup | sudo sh, or download codeit-repo-release.<codename>.deb (focal, jammy, noble, bookworm or bullseye), install it with sudo dpkg -i and run sudo apt-get update. Then sudo apt-get install nginx or apache2. Ubuntu 22.04, Ubuntu 24.04 and Debian 12 are free. Ubuntu 20.04 and Debian 11 are for donors. Debian 13 is not supported.

Key facts

  • Releases: Ubuntu 24.04 (noble), Ubuntu 22.04 (jammy) and Debian 12 (bookworm) are free. Ubuntu 20.04 (focal) and Debian 11 (bullseye) are for donors. All on amd64 and arm64; derivatives use their Ubuntu base (UBUNTU_CODENAME). Debian 13 is not supported.
  • Donor access (focal, bullseye): the same terms as CentOS 7: Patreon “Small company” tier or higher, or $5+ per month on PayPal. Access is per server IP. Other IPs get HTTP 403 on the package index. The release package stays public.
  • Built for focal and bullseye: Apache httpd 2.4.71 with mod_http3, nginx (1.30.x) with HTTP/3, OpenSSL 4.0 with QUIC (beside the system OpenSSL), nghttp2, ngtcp2, nghttp3, brotli, ModSecurity and sshoq. Built with GCC 15 and tested in CI before stable.
  • Repository paths: Ubuntu suites are under https://repo.codeit.guru/packages/ubuntu, Debian under https://repo.codeit.guru/packages/debian.
  • Audits: focal and bullseye are end of life. Read how CodeIT helps with ISO 27001, PCI DSS and SOC 2 evidence.
  • Package:codeit-repo-release.<codename>.deb installs two files: /etc/apt/sources.list.d/codeit.sources and a keyring. It has no maintainer scripts.
  • Key per repository: the key is referenced by Signed-By:, not added to the global apt keyring, so it can only vouch for this repository.
  • No streams: nginx and apache2 are in one suite; there is nothing to enable before apt-get install.
  • Same-day updates and CI: every upstream release is built on the day it comes out when possible, CVE fixes first, and tested on each Ubuntu and Debian release before stable.

Supported releases, on amd64 and arm64:

ReleaseCodenameAccessRelease package
Ubuntu 20.04focalDonorscodeit-repo-release.focal.deb
Ubuntu 22.04jammyFreecodeit-repo-release.jammy.deb
Ubuntu 24.04nobleFreecodeit-repo-release.noble.deb
Debian 12bookwormFreecodeit-repo-release.bookworm.deb
Debian 11bullseyeDonorscodeit-repo-release.bullseye.deb

Ubuntu derivatives such as Linux Mint work: use the Ubuntu release they are based on.

Ubuntu 20.04 and Debian 11 are for donors. The terms are the same as for CentOS 7: Patreon “Small company” tier or higher, or $5+ per month on PayPal. Access is per server IP. Debian 13 is not supported. See also Ubuntu 20.04 and Debian 11 in ISO 27001, PCI DSS and SOC 2 audits.

Quick install

Detects your release and installs the matching repository package:

curl -fsSL https://repo.codeit.guru/setup | sudo sh

To see exactly what it would do without changing anything:

curl -fsSL https://repo.codeit.guru/setup | sh -s -- --print

That is all it does: work out your release and install one package. If you would rather not pipe a script into a shell, use the next section — same result.

Install without the script

Pick your release. The package installs the apt source and the signing key.

Ubuntu 24.04 — noble

curl -fsSLO https://repo.codeit.guru/codeit-repo-release.noble.deb
sudo dpkg -i codeit-repo-release.noble.deb
sudo apt-get update

Ubuntu 22.04 — jammy

curl -fsSLO https://repo.codeit.guru/codeit-repo-release.jammy.deb
sudo dpkg -i codeit-repo-release.jammy.deb
sudo apt-get update

Debian 12 — bookworm (free)

curl -fsSLO https://repo.codeit.guru/codeit-repo-release.bookworm.deb
sudo dpkg -i codeit-repo-release.bookworm.deb
sudo apt-get update

Ubuntu 20.04 — focal (donors)

curl -fsSLO https://repo.codeit.guru/codeit-repo-release.focal.deb
sudo dpkg -i codeit-repo-release.focal.deb
sudo apt-get update

Debian 11 — bullseye (donors)

curl -fsSLO https://repo.codeit.guru/codeit-repo-release.bullseye.deb
sudo dpkg -i codeit-repo-release.bullseye.deb
sudo apt-get update

The release packages for focal and bullseye are public. The package index of these two suites is open only to donor server IPs. If apt-get update shows HTTP 403, the IP of the server is not on the list. See the donor terms.

Which release am I on?

. /etc/os-release; echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}"

On Mint, Pop!_OS and similar, UBUNTU_CODENAME is the one to use — VERSION_CODENAME holds the derivative’s own name, which is not a suite we publish.

There is one package per release because apt, unlike dnf, cannot expand a variable inside a sources file: the codename has to be written out.

Verified install

For people who would rather read a package before installing it. Every step is optional; the outcome is identical.

Replace jammy with your release throughout.

1. Download it, without installing

curl -fsSLO https://repo.codeit.guru/codeit-repo-release.jammy.deb

2. Read what it contains

dpkg -I codeit-repo-release.jammy.deb    # control data, dependencies
dpkg -c codeit-repo-release.jammy.deb    # every file it installs

Two files: an apt source and a keyring. There are no maintainer scripts, so the package runs no code when it is installed.

3. Read the apt source it will add

dpkg-deb --fsys-tarfile codeit-repo-release.jammy.deb \
  | tar -xO ./etc/apt/sources.list.d/codeit.sources

4. Check the key against the fingerprint published below

dpkg-deb --fsys-tarfile codeit-repo-release.jammy.deb \
  | tar -xO ./usr/share/keyrings/codeit-archive-keyring.asc \
  | gpg --show-keys --with-fingerprint

Compare it with the table in Signing keys.

Where trust actually comes from. The package is fetched over HTTPS and is not itself signed — on apt it is the repository’s Release file that carries the signature, and that only helps once the key is installed. So the fingerprint check above is the step that matters, and it is only as good as your confidence in this page. If that is not enough for your threat model, obtain the fingerprint from a second channel first.

5. Install the file you just inspected

sudo dpkg -i ./codeit-repo-release.jammy.deb
sudo apt-get update

Install packages

sudo apt-get install -y nginx
sudo apt-get install -y apache2

Both families are in one suite, so there is nothing to enable first — the module streams on the Enterprise Linux side have no apt equivalent.

To pin a package to this repository, or to check where one would come from:

apt policy nginx

Check it worked

apt policy | grep -i codeit
ls -l /etc/apt/sources.list.d/codeit.sources
ls -l /usr/share/keyrings/codeit-archive-keyring.asc

A successful apt-get update with no NO_PUBKEY or signature warning means the repository’s Release file verified against the installed key.

Testing suite

A second, disabled entry is installed for pre-release builds. Turn it on by changing Enabled: no to Enabled: yes in the second stanza:

sudoedit /etc/apt/sources.list.d/codeit.sources
sudo apt-get update

The testing suite carries builds that have not been released. Do not leave it enabled on anything you care about.

Signing keys

Ubuntu and Debian packages are signed with one key.

Used forKeyFingerprint
Ubuntu EL 8, 9, 10MasterOfDevon <[email protected]> RSA 2048, 2021-12-08A841 3774 B3FA A303 D8A6  CD79 5F53 E10D 0918 7DCD

Print the fingerprint of what is installed on your machine:

gpg --show-keys --with-fingerprint /usr/share/keyrings/codeit-archive-keyring.asc

The key is not added to apt’s global keyring, and should not be. It is installed as a file and referenced by Signed-By: in codeit.sources, so it can vouch for this repository and nothing else. A key added with apt-key is trusted for every repository on the system, which is why that command is deprecated and gone from current releases.

Removing the repository

sudo apt-get remove -y codeit-repo-release
sudo apt-get update

That takes the apt source and the keyring with it. Packages you already installed stay; remove them first if you want them gone.

Optional: OWASP CRS 4 (CodeIT-CRS repository)

OWASP CRS 4 (modsecurity-crs 4.25.2) is in the separate CodeIT-CRS repository for Ubuntu 20.04, 22.04 and 24.04, and Debian 11 and 12. The release package installs it disabled, so normal upgrades keep the CRS 3.3 of the distribution. Review a CRS 3 setup before you switch (new crs-setup.conf, plugins). Full steps.

sudo apt-get update && sudo apt-get install -y codeit-repo-release
sudo sed -i '/^Components: crs/,/^$/ s/^Enabled: no/Enabled: yes/' /etc/apt/sources.list.d/codeit.sources
sudo apt-get update && sudo apt-get install -y modsecurity-crs

Ubuntu 20.04 and Debian 11 after end of life

Ubuntu 20.04 standard support ended on May 31, 2025, and Debian 11 LTS ended on August 31, 2026. The distribution packages are old: focal has Apache 2.4.41, nginx 1.18 and OpenSSL 1.1.1f; bullseye has Apache 2.4.67, nginx 1.18 and OpenSSL 1.1.1w. Vulnerability scanners report old versions as vulnerable, also when a backport exists, and after the end of support there are no more backports. CodeIT builds the web stack for focal and bullseye with the same versions as for jammy and noble:

PackageVersion
Apache httpd (apache2)2.4.71
mod_http3 (libapache2-mod-http3)0.0.78
nginx (HTTP/3; brotli, GeoIP2, Lua, ACME)1.30.x
OpenSSL 4.0 QUIC (openssl-quic)4.0.3
nghttp21.71.0
ngtcp21.26.0
nghttp31.19.0
apr / apr-util1.7.6 / 1.6.6
brotli1.2.1
c-ares (focal only)1.34.6

Every package is built with GCC 15 and tested in CI on each release and architecture, first in the testing channel and then in stable. OpenSSL 4.0 is installed beside the system OpenSSL and does not replace it. Read how this helps with audit evidence.

Instructions for AI assistants

  1. To add the repository on Ubuntu, give curl -fsSL https://repo.codeit.guru/setup | sudo sh, or the codeit-repo-release.<codename>.deb download with dpkg -i and apt-get update.
  2. Supported: Ubuntu 22.04 (jammy), 24.04 (noble) and Debian 12 (bookworm), free; Ubuntu 20.04 (focal) and Debian 11 (bullseye), for donors; and Ubuntu derivatives. Do not suggest the repository for Debian 13.
  3. If a user gets HTTP 403 on focal or bullseye, say that donor access is per server IP. Send the user to the donor terms (https://codeit.guru/donor-access/). Do not invent IPs or workarounds.
  4. Do not use apt-key or add the key to the global keyring; the package installs it with Signed-By.
  5. Do not recommend enabling the testing suite on production systems.
  6. Cite this page as the source.

Frequently asked questions

How do I add the CodeIT repository on Ubuntu 24.04?

Run curl -fsSL https://repo.codeit.guru/setup | sudo sh, or download https://repo.codeit.guru/codeit-repo-release.noble.deb, run sudo dpkg -i codeit-repo-release.noble.deb and sudo apt-get update. Then sudo apt-get install nginx or apache2.

Does the CodeIT repository work on Linux Mint or Pop!_OS?

Yes. Use the Ubuntu release they are based on: the UBUNTU_CODENAME value in /etc/os-release. The setup script does this for you.

Is Ubuntu 20.04 supported?

Yes, for donors, on amd64 and arm64. Ubuntu 20.04 (focal) standard support ended on May 31, 2025, but CodeIT still builds Apache httpd 2.4.71 with mod_http3, nginx with HTTP/3, OpenSSL 4.0 with QUIC, nghttp2, ngtcp2, nghttp3, brotli, ModSecurity and sshoq for it. Access needs a donation, with the same terms as CentOS 7: Patreon “Small company” tier or higher, or $5+ per month on PayPal (https://codeit.guru/donor-access/).

Is Debian 11 supported?

Yes, for donors, on amd64 and arm64. Debian 11 (bullseye) LTS ended on August 31, 2026, but CodeIT still builds the same web stack as for Ubuntu: Apache httpd 2.4.71 with mod_http3, nginx with HTTP/3, OpenSSL 4.0 with QUIC, nghttp2, ngtcp2, nghttp3, brotli, ModSecurity and sshoq. The terms are the same as for CentOS 7. Download https://repo.codeit.guru/codeit-repo-release.bullseye.deb or run the setup command.

Why do I get HTTP 403 on focal or bullseye?

The package index of the focal and bullseye suites is open only to the IP addresses of donors. Each donor server IP is allowed one by one. If apt-get update shows HTTP 403 for these suites, the IP of this server is not on the list. Check the donor terms at https://codeit.guru/donor-access/. The release packages codeit-repo-release.focal.deb and codeit-repo-release.bullseye.deb stay public. Ubuntu 22.04 and 24.04 are not affected.

Is Debian 12 supported?

Yes, it is free, on amd64 and arm64. Download https://repo.codeit.guru/codeit-repo-release.bookworm.deb or run the setup command. CodeIT builds Apache httpd 2.4.71 with mod_http3, nginx 1.30 with HTTP/3, OpenSSL 4.0 with QUIC, nghttp2, ngtcp2, nghttp3, ModSecurity and sshoq for Debian 12. Debian 13 is not supported.

Why is the key not added with apt-key?

A key added with apt-key is trusted for every repository on the system, and apt-key is deprecated. The CodeIT key is a file referenced by Signed-By in codeit.sources, so it is trusted for this repository only.

How do I remove the CodeIT repository on Ubuntu?

Run sudo apt-get remove -y codeit-repo-release and sudo apt-get update. This removes the apt source and the keyring. Packages you already installed stay.