How to Install and Uninstall lvm2 Package on Debian 12 (Bookworm)

Last updated: May 17,2024

1. Install "lvm2" package

Here is a brief guide to show you how to install lvm2 on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install lvm2

2. Uninstall "lvm2" package

Here is a brief guide to show you how to uninstall lvm2 on Debian 12 (Bookworm):

$ sudo apt remove lvm2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the lvm2 package on Debian 12 (Bookworm)

Package: lvm2
Version: 2.03.16-2
Installed-Size: 4009
Maintainer: Debian LVM Team
Architecture: amd64
Depends: libaio1 (>= 0.3.93), libblkid1 (>= 2.24.2), libc6 (>= 2.34), libdevmapper-event1.02.1 (>= 2:1.02.74), libedit2 (>= 2.11-20080614-0), libselinux1 (>= 3.1~), libsystemd0 (>= 233), libudev1 (>= 183), lsb-base, dmsetup (>= 2:1.02.185-2~), dmeventd (>= 2:1.02.185-2~)
Recommends: thin-provisioning-tools
Description: Linux Logical Volume Manager
Description-md5: 9df95d102d2b0aad5aff13603ef0cb3f
Multi-Arch: foreign
Homepage: https://sourceware.org/lvm2/
Tag: admin::filesystem, implemented-in::c, interface::commandline,
role::program, scope::utility
Section: admin
Priority: optional
Filename: pool/main/l/lvm2/lvm2_2.03.16-2_amd64.deb
Size: 1228616
MD5sum: 9880a54836efdd6f40440254bfc96031
SHA256: 608ae8de670342fc80d388185be64af9c886e61d145669a606db002663f7fd82