How to Install and Uninstall dh-kpatches Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 20,2024

1. Install "dh-kpatches" package

In this section, we are going to explain the necessary steps to install dh-kpatches on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install dh-kpatches

2. Uninstall "dh-kpatches" package

Please follow the instructions below to uninstall dh-kpatches on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove dh-kpatches $ sudo apt autoclean && sudo apt autoremove

3. Information about the dh-kpatches package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: dh-kpatches
Priority: extra
Section: universe/devel
Installed-Size: 216
Maintainer: Ubuntu Developers
Original-Maintainer: Yann Dirson
Architecture: all
Version: 0.99.36+nmu2
Depends: perl, debhelper (>= 2.0.14)
Suggests: kernel-package
Filename: pool/universe/d/dh-kpatches/dh-kpatches_0.99.36+nmu2_all.deb
Size: 145634
MD5sum: 90accb300d2598a82697699e1451d547
SHA1: c296df42265281779bd094686d5ac7ecfb070d83
SHA256: fece8f2f7f451e5ee541d8f6e91ff8395ab31a9f178ad0ee7a64976db99750b8
Description-en: Debhelper script to help packaging kernel patches
The dh_installkpatches script produces the "apply" and "unpatch" scripts
that kernel-package uses to automatically handle kernel patches. It
provides a number of useful features like:
* does its best to never break your kernel source tree
* allows you to select any provided version of a patch
* handle patch inter-dependencies
.
Patches are described in a Debian-standard control-file-like format.
Description-md5: feee3e2664473159a50d119394b72890
Enhances: debhelper
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

5. The same packages on other Linux Distributions