Installing InspIRCd 4 using the RHEL package

An official package for RHEL 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:

You can also install the package on RHEL rebuilds like AlmaLinux and Rocky Linux.

How do I install this package?

Download the package

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

# Use this package on RHEL 8 and rebuilds.
wget "https://github.com/inspircd/inspircd/releases/download/v4.11.0/inspircd-4.11.0-1.el8.x86_64.rpm"

# Use this package on RHEL 9 and rebuilds.
wget "https://github.com/inspircd/inspircd/releases/download/v4.11.0/inspircd-4.11.0-1.el9.x86_64.rpm"

# Use this package on RHEL 10 and rebuilds.
wget "https://github.com/inspircd/inspircd/releases/download/v4.11.0/inspircd-4.11.0-1.el10.x86_64.rpm"

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 RHEL 8 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-1.el8.x86_64.rpm").digest | ltrimstr("sha256:"))'

# Fetches the expected checksum of the RHEL 9 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-1.el9.x86_64.rpm").digest | ltrimstr("sha256:"))'

# Fetches the expected checksum of the RHEL 10 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-1.el10.x86_64.rpm").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 RHEL 8 package
sha256sum "./inspircd-4.11.0-1.el8.x86_64.rpm"

# Calculates the actual checksum of the RHEL 9 package
sha256sum "./inspircd-4.11.0-1.el9.x86_64.rpm"

# Calculates the actual checksum of the RHEL 10 package
sha256sum "./inspircd-4.11.0-1.el10.x86_64.rpm"

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 dnf install. If you want to check what extra packages will be installed first you can use dnf deplist instead.

# Installs the package on RHEL 8
sudo dnf install "./inspircd-4.11.0-1.el8.x86_64.rpm"

# Installs the package on RHEL 9
sudo dnf install "./inspircd-4.11.0-1.el9.x86_64.rpm"

# Installs the package on RHEL 10
sudo dnf install "./inspircd-4.11.0-1.el10.x86_64.rpm"

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 inspircd -u inspircd 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.