How to Install and Uninstall libblockdev2 Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 19,2024

1. Install "libblockdev2" package

This is a short guide on how to install libblockdev2 on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libblockdev2

2. Uninstall "libblockdev2" package

Learn how to uninstall libblockdev2 on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libblockdev2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the libblockdev2 package on Ubuntu 21.10 (Impish Indri)

Package: libblockdev2
Architecture: amd64
Version: 2.25-2build1
Multi-Arch: same
Priority: optional
Section: libs
Source: libblockdev
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Utopia Maintenance Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 224
Depends: libblockdev-utils2 (>= 2.14), libc6 (>= 2.34), libglib2.0-0 (>= 2.42.2)
Filename: pool/main/libb/libblockdev/libblockdev2_2.25-2build1_amd64.deb
Size: 42670
MD5sum: 836788d1e855f5516b99369ef856ff33
SHA1: 3863084faaf1e968445b786f0a452a5bf94f6b21
SHA256: afc1ed8ebd3a20511543d49e953f0bfe792ca5aaa6649261d52551353becd496
SHA512: fb06cad063bf2a92bdd520a91824ba16e6424630fb3df4024c949b4156326830bbe72746219fbd163273c83c404a111baea60f41efb80c209130b95ea3f617f3
Homepage: https://github.com/storaged-project/libblockdev
Description-en: 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).
Description-md5: 9752faba42df68f42476544c699ca9c8
Task: ubuntu-desktop-minimal, ubuntu-desktop, cloud-image, server, ubuntu-server-raspi, ubuntu-desktop-raspi, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop, ubuntu-budgie-desktop-raspi