How To Install libfsverity-dev on Kali Linux
Introduction
In this tutorial we learn how to install libfsverity-dev on Kali Linux.
What is libfsverity-dev
libfsverity-dev is:
fs-verity is a Linux kernel feature that does transparent on-demand integrity/authenticity verification of the contents of read-only files, using a hidden Merkle tree (hash tree) associated with the file. The mechanism is similar to dm-verity, but implemented at the file level rather than at the block device level.
This package contains the libfsverity development libraries and header files.
There are three methods to install libfsverity-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 libfsverity-dev Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libfsverity-dev using apt-get by running the following command:
sudo apt-get -y install libfsverity-devInstall libfsverity-dev Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libfsverity-dev using apt by running the following command:
sudo apt -y install libfsverity-devInstall libfsverity-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 updateAfter updating apt database, We can install libfsverity-dev using aptitude by running the following command:
sudo aptitude -y install libfsverity-devHow To Uninstall libfsverity-dev on Kali Linux
To uninstall only the libfsverity-dev package we can use the following command:
sudo apt-get remove libfsverity-devUninstall libfsverity-dev And Its Dependencies
To uninstall libfsverity-dev and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libfsverity-devRemove libfsverity-dev Configurations and Data
To remove libfsverity-dev configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libfsverity-devRemove libfsverity-dev configuration, data, and all of its dependencies
We can use the following command to remove libfsverity-dev configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libfsverity-devDependencies
libfsverity-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libfsverity-dev package on Kali Linux using different package management tools: apt, apt-get and aptitude.