Installing InspIRCd 4 using the Ubuntu package
An official package for Ubuntu 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:
-
Ubuntu 22.04 (Jammy Jellyfish)
-
Ubuntu 24.04 (Noble Numbat)
-
Ubuntu 26.04 (Resolute Raccoon)
How do I install this package?
Remove the Ubuntu repository package
If you've previously installed InspIRCd from the Ubuntu 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 Ubuntu 22.04 (Jammy Jellyfish)
wget "https://github.com/inspircd/inspircd/releases/download/v4.11.0/inspircd_4.11.0.ubuntu22.04.1_amd64.deb"
# Use this package on Ubuntu 24.04 (Noble Numbat)
wget "https://github.com/inspircd/inspircd/releases/download/v4.11.0/inspircd_4.11.0.ubuntu24.04.1_amd64.deb"
# Use this package on Ubuntu 26.04 (Resolute Raccoon)
wget "https://github.com/inspircd/inspircd/releases/download/v4.11.0/inspircd_4.11.0.ubuntu26.04.1_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 Ubuntu 22.04 (Jammy Jellyfish) 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.ubuntu22.04.1_amd64.deb").digest | ltrimstr("sha256:"))'
# Fetches the expected checksum of the Ubuntu 24.04 (Noble Numbat) 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.ubuntu24.04.1_amd64.deb").digest | ltrimstr("sha256:"))'
# Fetches the expected checksum of the Ubuntu 26.04 (Resolute Raccoon) 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.ubuntu26.04.1_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 Ubuntu 22.04 (Jammy Jellyfish) package
sha256sum "./inspircd_4.11.0.ubuntu22.04.1_amd64.deb"
# Calculates the actual checksum of the Ubuntu 24.04 (Noble Numbat) package
sha256sum "./inspircd_4.11.0.ubuntu24.04.1_amd64.deb"
# Calculates the actual checksum of the Ubuntu 26.04 (Resolute Raccoon) package
sha256sum "./inspircd_4.11.0.ubuntu26.04.1_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 Ubuntu 22.04 (Jammy Jellyfish)
sudo apt install "./inspircd_4.11.0.ubuntu22.04.1_amd64.deb"
# Installs the package on Ubuntu 24.04 (Noble Numbat)
sudo apt install "./inspircd_4.11.0.ubuntu24.04.1_amd64.deb"
# Installs the package on Ubuntu 26.04 (Resolute Raccoon)
sudo apt install "./inspircd_4.11.0.ubuntu26.04.1_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.