How to Install ngircd on POP! OS Latest

In this tutorial, we will walk through the steps to install the ngircd, a lightweight Internet Relay Chat (IRC) server that supports IPv6 and SSL/TLS connections. We will be installing ngircd on the latest POP! OS operating system.

Before we begin, ensure that you have sudo privileges on your system.

Step 1: Install Dependencies

First, we need to install some dependencies required for the ngircd server to work.

Open the terminal and type in the following command:

sudo apt-get update
sudo apt-get install build-essential libssl-dev

Step 2: Download and Extract ngircd Source Files

The next step is to download and extract the ngircd source files. We will be downloading the latest version, which is version 26.

  1. Open your web browser and go to the ngircd download page at https://ngircd.barton.de/download/.

  2. Click on the link for the latest version (version 26).

  3. Once the download is complete, navigate to your Downloads folder, right-click on the downloaded file, and choose the "Extract Here" option.

Step 3: Compile and Install ngircd

Now that we have the source files, we can proceed to compile and install ngircd.

  1. Open the terminal and navigate to the extracted ngircd directory:
cd ~/Downloads/ngircd-26
  1. Run the following commands in order to compile, check and install the ngircd server:
./configure --prefix=/usr
make
sudo make install

Step 4: Configure ngircd

The last step is to configure ngircd.

  1. Open the terminal and navigate to the /etc/ngircd/ directory:
cd /etc/ngircd/
  1. Edit the ngircd.conf file using your favorite text editor:
sudo nano ngircd.conf
  1. Make any necessary changes to the configuration file. By default, ngircd listens on port 6667, but you can change that if needed.

  2. Save and close the configuration file.

Step 5: Start ngircd

Now we can start the ngircd server and test if it's working fine.

  1. Open the terminal and start the ngircd server:
sudo ngircd
  1. Verify that ngircd is running by checking the running processes:
ps aux | grep ngircd

If ngircd is running, you should see it listed in the output.

Conclusion

In this tutorial, we have walked through the process of installing ngircd on the latest version of POP! OS, starting from the installation of dependencies to the configuration and start-up of the ngircd server. With these steps, you should be able to set up your IRC server and start enjoying the features of ngircd.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!