How to Install and Uninstall kpartx Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 14,2024

1. Install "kpartx" package

This tutorial shows how to install kpartx on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install kpartx

2. Uninstall "kpartx" package

Please follow the steps below to uninstall kpartx on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the kpartx package on Ubuntu 21.04 (Hirsute Hippo)

Package: kpartx
Architecture: amd64
Version: 0.8.5-1ubuntu6
Priority: extra
Section: admin
Source: multipath-tools
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian DM Multipath Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 103
Depends: libc6 (>= 2.33), libdevmapper1.02.1 (>= 2:1.02.97), udev, dmsetup
Filename: pool/main/m/multipath-tools/kpartx_0.8.5-1ubuntu6_amd64.deb
Size: 28212
MD5sum: b7589ad399fc2dfe613e3f1423ae1027
SHA1: af5690a7ceb49c150765a8ebbb6c6da55bd9dc42
SHA256: ea3eb90aef1587bd971378cdfabd1c4f5a1d096f485945887e0344d99ecbcddd
SHA512: ecdaf3b5401199d2ea8c523f0ba8a757b13ec6a2fc1dd79172deff1fb4ee19ab09364391565c4194300f8f76d2c32587f5ef710c7bc8a84b504613549c3bb054
Homepage: http://christophe.varoqui.free.fr/
Description-en: create device mappings for partitions
Kpartx can be used to set up device mappings for the partitions of any
partitioned block device.
.
It is part of the Linux multipath-tools, but is useful on any
device-mapper using system.
Description-md5: f27bd840eff7aca2039cea83387ed292
Task: server, cloud-image, ubuntu-live, server-raspi, kubuntu-live, xubuntu-live, lubuntu-live, ubuntustudio-dvd-live, ubuntukylin-live, ubuntu-mate-live, ubuntu-budgie-live