Install libblockdev-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libblockdev-dev
Description:
Library for manipulating block devices - development
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. . This package contains header files and pkg-config files needed for development with the libblockdev library.
Homepage: https://github.com/storaged-project/libblockdev
Version: 2.16-2
Section: libdevel