How To Install libfs-dev on Kali Linux

In this tutorial we learn how to install libfs-dev on Kali Linux. libfs-dev is X11 Font Services library (development headers)

Introduction

In this tutorial we learn how to install libfs-dev on Kali Linux.

What is libfs-dev

libfs-dev is:

libFS, the Font Services library, provides various functions useful to X11 font servers, and clients connecting to font servers. It is not used outside of these implementations.

This package contains the development headers for the library found in libfs6. Non-developers likely have little use for this package.

More information about X.Org can be found at: URL:http://www.X.org

This module can be found at git://anongit.freedesktop.org/git/xorg/lib/libFS

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

Install libfs-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 libfs-dev using apt-get by running the following command:

sudo apt-get -y install libfs-dev

Install libfs-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libfs-dev

Install libfs-dev Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libfs-dev

How To Uninstall libfs-dev on Kali Linux

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

sudo apt-get remove libfs-dev

Uninstall libfs-dev And Its Dependencies

To uninstall libfs-dev and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libfs-dev

Remove libfs-dev Configurations and Data

To remove libfs-dev configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libfs-dev

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

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

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

Dependencies

libfs-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libfs-dev package on Kali Linux using different package management tools: apt, apt-get and aptitude.