How To Install hexchat-common on Ubuntu 18.04

In this tutorial we learn how to install hexchat-common on Ubuntu 18.04. hexchat-common is Common files for HexChat

Introduction

In this tutorial we learn how to install hexchat-common on Ubuntu 18.04.

What is hexchat-common

hexchat-common is:

This package includes documentation, headers, and locale files for the Debian HexChat packages that are common for all architectures. Hexchat is a popular and featureful IRC client with a GTK+ GUI. For more information on IRC, see http://irchelp.org/.

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

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

sudo apt-get update

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

sudo apt-get -y install hexchat-common

Install hexchat-common Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install hexchat-common

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

sudo aptitude -y install hexchat-common

How To Uninstall hexchat-common on Ubuntu 18.04

To uninstall only the hexchat-common package we can use the following command:

sudo apt-get remove hexchat-common

Uninstall hexchat-common And Its Dependencies

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

sudo apt-get -y autoremove hexchat-common

Remove hexchat-common Configurations and Data

To remove hexchat-common configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge hexchat-common

Remove hexchat-common configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge hexchat-common

References

Summary

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