How To Install fhist on Debian 10

Learn how to install fhist on Debian 10 with this tutorial. fhist is File history, comparison and merge utilities

Introduction

In this tutorial we learn how to install fhist on Debian 10.

What is fhist

fhist is:

The fhist package contains 3 utilities fhist - a file history tool fcomp - a file comparison tool fmerge - a file merging tool

All three are bundled together, because they all use the same minimal-difference algorithm.

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

Install fhist Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install fhist

Install fhist Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install fhist

Install fhist 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install fhist

How To Uninstall fhist on Debian 10

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

sudo apt-get remove fhist

Uninstall fhist And Its Dependencies

To uninstall fhist and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove fhist

Remove fhist Configurations and Data

To remove fhist configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge fhist

Remove fhist configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge fhist

Dependencies

fhist have the following dependencies:

References

Summary

In this tutorial we learn how to install fhist package on Debian 10 using different package management tools: apt, apt-get and aptitude.