How to Install and Uninstall patch Package on Debian 12 (Bookworm)
Last updated: January 11,2025
Notice
You can also install and uninstall the patch on the following distributions in the same way, as they are all based on the Debian system
- MX Linux 23
- SparkyLinux
1. Install "patch" package
This tutorial shows how to install patch on Debian 12 (Bookworm)
$
sudo apt update
Copied
$
sudo apt install
patch
Copied
2. Uninstall "patch" package
In this section, we are going to explain the necessary steps to uninstall patch on Debian 12 (Bookworm):
$
sudo apt remove
patch
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the patch package on Debian 12 (Bookworm)
Package: patch
Version: 2.7.6-7
Installed-Size: 248
Maintainer: Laszlo Boszormenyi (GCS)
Architecture: amd64
Depends: libc6 (>= 2.17)
Suggests: ed, diffutils-doc
Description: Apply a diff file to an original
Description-md5: d56076980d5ce0f54f9dd685e6ca0ce7
Multi-Arch: foreign
Homepage: https://savannah.gnu.org/projects/patch/
Build-Essential: yes
Tag: devel::rcs, implemented-in::c, interface::commandline, role::program,
scope::utility, suite::gnu, use::editing, use::synchronizing,
works-with-format::TODO, works-with-format::diff,
works-with-format::plaintext, works-with::file,
works-with::software:source, works-with::text
Section: vcs
Priority: optional
Filename: pool/main/p/patch/patch_2.7.6-7_amd64.deb
Size: 127848
MD5sum: f1682a98c3f4dee94ab083e423283c84
SHA256: 8c6d49b771530dbe26d7bd060582dc7d2b4eeb603a20789debc1ef4bbbc4ef67
Version: 2.7.6-7
Installed-Size: 248
Maintainer: Laszlo Boszormenyi (GCS)
Architecture: amd64
Depends: libc6 (>= 2.17)
Suggests: ed, diffutils-doc
Description: Apply a diff file to an original
Description-md5: d56076980d5ce0f54f9dd685e6ca0ce7
Multi-Arch: foreign
Homepage: https://savannah.gnu.org/projects/patch/
Build-Essential: yes
Tag: devel::rcs, implemented-in::c, interface::commandline, role::program,
scope::utility, suite::gnu, use::editing, use::synchronizing,
works-with-format::TODO, works-with-format::diff,
works-with-format::plaintext, works-with::file,
works-with::software:source, works-with::text
Section: vcs
Priority: optional
Filename: pool/main/p/patch/patch_2.7.6-7_amd64.deb
Size: 127848
MD5sum: f1682a98c3f4dee94ab083e423283c84
SHA256: 8c6d49b771530dbe26d7bd060582dc7d2b4eeb603a20789debc1ef4bbbc4ef67