How To Install jirc on Ubuntu 18.04

In this tutorial we learn how to install jirc on Ubuntu 18.04. jirc is an IRC to Jabber bridge bot

Introduction

In this tutorial we learn how to install jirc on Ubuntu 18.04.

What is jirc

jirc is:

The jirc bot logs into an IRC channel and a Jabber conference room. It will relay conversations between the two rooms, identifying each of the speakers in braces. Actions are forwarded as well.

There are three methods to install jirc on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install jirc Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install jirc using apt-get by running the following command:

sudo apt-get -y install jirc

Install jirc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install jirc using apt by running the following command:

sudo apt -y install jirc

Install jirc Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install jirc using aptitude by running the following command:

sudo aptitude -y install jirc

How To Uninstall jirc on Ubuntu 18.04

To uninstall only the jirc package we can use the following command:

sudo apt-get remove jirc

Uninstall jirc And Its Dependencies

To uninstall jirc and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove jirc

Remove jirc Configurations and Data

To remove jirc configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge jirc

Remove jirc configuration, data, and all of its dependencies

We can use the following command to remove jirc configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge jirc

References

Summary

In this tutorial we learn how to install jirc package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.