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

Last updated: November 23,2024

1. Install "kpartx" package

Please follow the guidance below to install kpartx on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install kpartx

2. Uninstall "kpartx" package

This tutorial shows how to uninstall kpartx on Debian 12 (Bookworm):

$ sudo apt remove kpartx $ sudo apt autoclean && sudo apt autoremove

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

Package: kpartx
Source: multipath-tools
Version: 0.9.4-3+deb12u1
Installed-Size: 74
Maintainer: Debian DM Multipath Team
Architecture: amd64
Depends: dmsetup, udev, libc6 (>= 2.34), libdevmapper1.02.1 (>= 2:1.02.97)
Description: create device mappings for partitions
Description-md5: f27bd840eff7aca2039cea83387ed292
Homepage: http://christophe.varoqui.free.fr/
Tag: role::program
Section: admin
Priority: optional
Filename: pool/main/m/multipath-tools/kpartx_0.9.4-3+deb12u1_amd64.deb
Size: 27008
MD5sum: 1dd8469aa4c6cd8c47a452a7f061ddef
SHA256: f53bfadcd0d4a54cdca65e3e64b893e6ebe1cf1ba2e4b7a3112af66a322a755d