How To Install libblockdev-plugins-all on Kali Linux
Introduction
In this tutorial we learn how to install libblockdev-plugins-all on Kali Linux.
What is libblockdev-plugins-all
libblockdev-plugins-all is:
libblockdev is a C library with GObject introspection support that can be used for doing low-level operations with block devices like setting up LVM, BTRFS, LUKS or MD RAID.
The library uses plugins (LVM, BTRFS,…) and serves as a thin wrapper around its plugins’ functionality.
This is a metapackage that depends on all libblockdev plugins.
There are three methods to install libblockdev-plugins-all 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 libblockdev-plugins-all Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libblockdev-plugins-all using apt-get by running the following command:
sudo apt-get -y install libblockdev-plugins-allInstall libblockdev-plugins-all Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libblockdev-plugins-all using apt by running the following command:
sudo apt -y install libblockdev-plugins-allInstall libblockdev-plugins-all 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 libblockdev-plugins-all using aptitude by running the following command:
sudo aptitude -y install libblockdev-plugins-allHow To Uninstall libblockdev-plugins-all on Kali Linux
To uninstall only the libblockdev-plugins-all package we can use the following command:
sudo apt-get remove libblockdev-plugins-allUninstall libblockdev-plugins-all And Its Dependencies
To uninstall libblockdev-plugins-all and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libblockdev-plugins-allRemove libblockdev-plugins-all Configurations and Data
To remove libblockdev-plugins-all configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libblockdev-plugins-allRemove libblockdev-plugins-all configuration, data, and all of its dependencies
We can use the following command to remove libblockdev-plugins-all configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libblockdev-plugins-allDependencies
libblockdev-plugins-all have the following dependencies:
- libblockdev2
- libblockdev-btrfs2
- libblockdev-crypto2
- libblockdev-dm2
- libblockdev-fs2
- libblockdev-kbd2
- libblockdev-loop2
- libblockdev-lvm2
- libblockdev-lvm-dbus2
- libblockdev-mdraid2
- libblockdev-nvdimm2
- libblockdev-mpath2
- libblockdev-part2
- libblockdev-part-err2
- libblockdev-swap2
- libblockdev-utils2
References
Summary
In this tutorial we learn how to install libblockdev-plugins-all package on Kali Linux using different package management tools: apt, apt-get and aptitude.