How To Install xchat on Ubuntu 18.04

In this tutorial we learn how to install xchat on Ubuntu 18.04. xchat is IRC client for X similar to AmIRC

Introduction

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

What is xchat

xchat is:

XChat is a graphical IRC Client with a GTK+ GUI. It has a look and feel similar to AmIRC for the Amiga. Special features include the mIRC extension DCC RESUME and mIRC color, multiple server/channel windows, dialog windows, and a plugin API.

There are three methods to install xchat 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 xchat Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install xchat

Install xchat Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install xchat

Install xchat 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 xchat using aptitude by running the following command:

sudo aptitude -y install xchat

How To Uninstall xchat on Ubuntu 18.04

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

sudo apt-get remove xchat

Uninstall xchat And Its Dependencies

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

sudo apt-get -y autoremove xchat

Remove xchat Configurations and Data

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

sudo apt-get -y purge xchat

Remove xchat configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge xchat

References

Summary

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