Installing InspIRCd 4 using the Debian package

An official package for Debian is maintained by the InspIRCd Team. You can download this from the releases page.

What systems are supported by this package?

This package can be installed on all x86-64 systems running:

How do I install this package?

Remove the Debian repository package

If you've previously installed InspIRCd from the Debian repositories you should start by backing up your config and data directories and removing the existing package.

cp -r /etc/inspircd ~/inspircd-conf
cp -r /var/run/inspircd ~/inspircd-data
sudo apt purge inspircd

Once you have installed the new package you can copy these files back.

cp -r ~/inspircd-conf/* /etc/inspircd
cp -r ~/inspircd-data/* /var/lib/inspircd

Download the package

To start, download the .deb package to your server using Wget. If you do not have Wget installed you can install it using sudo apt install wget.

# Use this package on Debian 12 (Bookworm)
wget "https://github.com/inspircd/inspircd/releases/download/v4.11.0/inspircd_4.11.0.deb12u1_amd64.deb"

# Use this package on Debian 13 (Trixie)
wget "https://github.com/inspircd/inspircd/releases/download/v4.11.0/inspircd_4.11.0.deb13u1_amd64.deb"

# Use this package on Debian 14 (Forky)
wget "https://github.com/inspircd/inspircd/releases/download/v4.11.0/inspircd_4.11.0.deb14u1_amd64.deb"

Validate the package integrity (optional)

If you want to validate the integrity of the downloaded package, SHA-256 checksums are available on the releases page. If you have jq installed you can automate fetching the release checksum using:

# Fetches the expected checksum of the Debian 12 (Bookworm) package
wget --quiet --output-document - "https://api.github.com/repos/inspircd/inspircd/releases/tags/v4.11.0" | jq --raw-output 'first(.assets[] | select(.name == "inspircd_4.11.0.deb12u1_amd64.deb").digest | ltrimstr("sha256:"))'

# Fetches the expected checksum of the Debian 13 (Trixie) package
wget --quiet --output-document - "https://api.github.com/repos/inspircd/inspircd/releases/tags/v4.11.0" | jq --raw-output 'first(.assets[] | select(.name == "inspircd_4.11.0.deb13u1_amd64.deb").digest | ltrimstr("sha256:"))'

# Fetches the expected checksum of the Debian 14 (Forky) package
wget --quiet --output-document - "https://api.github.com/repos/inspircd/inspircd/releases/tags/v4.11.0" | jq --raw-output 'first(.assets[] | select(.name == "inspircd_4.11.0.deb14u1_amd64.deb").digest | ltrimstr("sha256:"))'

Once you have obtained the expected checksum for the package you can validate the integrity of the downloaded package by comparing it to the actual checksum from sha256sum.

# Calculates the actual checksum of the Debian 12 (Bookworm) package
sha256sum "./inspircd_4.11.0.deb12u1_amd64.deb"

# Calculates the actual checksum of the Debian 13 (Trixie) package
sha256sum "./inspircd_4.11.0.deb13u1_amd64.deb"

# Calculates the actual checksum of the Debian 14 (Forky) package
sha256sum "./inspircd_4.11.0.deb14u1_amd64.deb"

If the checksum matches the one specified on the releases page you can proceed to install the package. Otherwise, you should redownload the package.

Install the package

To install the package pass the filename to apt install. If you want to check what extra packages will be installed first you can use the --dry-run flag.

# Installs the package on Debian 12 (Bookworm)
sudo apt install "./inspircd_4.11.0.deb12u1_amd64.deb"

# Installs the package on Debian 13 (Trixie)
sudo apt install "./inspircd_4.11.0.deb13u1_amd64.deb"

# Installs the package on Debian 14 (Forky)
sudo apt install "./inspircd_4.11.0.deb14u1_amd64.deb"

Configuration

The package should now be installed and you can proceed to set up your configuration.

Once you have configured your server you can start it by running systemctl start inspircd.service or, if you prefer not to use systemd, by running sudo -g irc -u irc inspircd.

Where does this package store important files?

Configuration files are stored in /etc/inspircd.

Data files are stored in /var/lib/inspircd.

Log files are stored in /var/log/inspircd.