How To Install cfingerd on Ubuntu 22.04

In this tutorial we learn how to install cfingerd on Ubuntu 22.04. cfingerd is configurable finger daemon

Introduction

In this tutorial we learn how to install cfingerd on Ubuntu 22.04.

What is cfingerd

cfingerd is:

This is a free replacement for standard finger daemons such as GNU fingerd and MIT fingerd. Cfingerd can enable/disable finger services to individual users, rather than to all users on a given host. It is able to respond to a finger request to a specified user by running a shell script (e.g., finger [email protected] might cause a sound file to be sent) rather than just a plain text file.

There are three methods to install cfingerd on Ubuntu 22.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 cfingerd Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install cfingerd

Install cfingerd Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install cfingerd

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

sudo aptitude -y install cfingerd

How To Uninstall cfingerd on Ubuntu 22.04

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

sudo apt-get remove cfingerd

Uninstall cfingerd And Its Dependencies

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

sudo apt-get -y autoremove cfingerd

Remove cfingerd Configurations and Data

To remove cfingerd configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge cfingerd

Remove cfingerd configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge cfingerd

References

Summary

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