How to Install and Uninstall patch Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 19,2024

1. Install "patch" package

This tutorial shows how to install patch on Ubuntu 21.10 (Impish Indri)

$ 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 Ubuntu 21.10 (Impish Indri):

$ sudo apt remove patch $ sudo apt autoclean && sudo apt autoremove

3. Information about the patch package on Ubuntu 21.10 (Impish Indri)

Package: patch
Architecture: amd64
Version: 2.7.6-7
Multi-Arch: foreign
Priority: optional
Section: utils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Laszlo Boszormenyi (GCS)
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 237
Depends: libc6 (>= 2.17)
Suggests: ed, diffutils-doc
Filename: pool/main/p/patch/patch_2.7.6-7_amd64.deb
Size: 105080
MD5sum: 78f2740b6f55cfeb76c352380c1edeaa
SHA1: ae3a8996a1a68a1c083e5a8543d48dacfff354f6
SHA256: 7a7a4e469198469c848d057eeadd8cf920cc50f24a55800297e65606969986dd
SHA512: 072eb6104104b2c89d861217af27295ea52e1f67b0b3512a67c9fdeddb2219b26c98a3931ee8e0d28ce8aec20f6249db2093479cd7d20832bcebf3b7650aec5c
Homepage: https://savannah.gnu.org/projects/patch/
Description-en: Apply a diff file to an original
Patch will take a patch file containing any of the four forms
of difference listing produced by the diff program and apply
those differences to an original file, producing a patched
version.
Description-md5: d56076980d5ce0f54f9dd685e6ca0ce7
Task: ubuntu-desktop-minimal, ubuntu-desktop, cloud-image, server, ubuntu-server-raspi, xubuntu-desktop, lubuntu-desktop, ubuntustudio-video, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop, ubuntu-budgie-desktop-raspi
Build-Essential: yes