How to Install libblockdev2 in Ubuntu 18.04



Install libblockdev2 by entering the following commands in the terminal:

sudo apt update
sudo apt install libblockdev2

Description:

Library for manipulating block devices

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. All the plugins, however, can be used as standalone libraries. One of the core principles of libblockdev is that it is stateless from the storage configuration's perspective (e.g. it has no information about VGs when creating an LV).

Homepage: https://github.com/storaged-project/libblockdev

Version: 2.16-2

Section: libs