How To Install finch-dev on Ubuntu 18.04

In this tutorial we learn how to install finch-dev on Ubuntu 18.04. finch-dev is text-based multi-protocol instant messaging client - development

Introduction

In this tutorial we learn how to install finch-dev on Ubuntu 18.04.

What is finch-dev

finch-dev is:

This package contains the headers and other development files not included in the main finch package. Install this if you wish to compile your own plugins, or would like to compile programs that use the libgnt library.

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

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

sudo apt-get update

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

sudo apt-get -y install finch-dev

Install finch-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install finch-dev

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

sudo aptitude -y install finch-dev

How To Uninstall finch-dev on Ubuntu 18.04

To uninstall only the finch-dev package we can use the following command:

sudo apt-get remove finch-dev

Uninstall finch-dev And Its Dependencies

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

sudo apt-get -y autoremove finch-dev

Remove finch-dev Configurations and Data

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

sudo apt-get -y purge finch-dev

Remove finch-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge finch-dev

References

Summary

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