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

Last updated: May 14,2024

1. Install "patch" package

This tutorial shows how to install patch on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install patch

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 $ sudo apt autoclean && sudo apt autoremove

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