< Home - < Back

patch


Information about the package, patch, which is shipped with common Linux distributions. The patch package is designed for, Utility for modifying/upgrading files.


Package Name:

patch

Summary:

Utility for modifying/upgrading files

Description:

The patch program applies diff files to originals. The diff command is used to compare an original to a changed file. Diff lists the changes made to the file. A person who has the original file can then use the patch command with the diff file to add the changes to their original file (patching the file). Patch should be installed because it is a common way of upgrading applications.

Architecture:

x86_64

Version:

2.6

Release:

8.el6_9

Size:

176 k

Repository:

installed

From Repository:

updates

Licence:

GPLv2+



Handy Yum Commands for patch


Control the patch package with the following handy commands outlined below.


Command

Description of Command

yum install patch

This command will install patch on the server.

yum remove patch

This command will un-install patch on the server. When you run this command, you will be asked if you are sure that you want to remove patch, so you have to manually confirm that you want to do this.

yum -y remove patch

This command will un-install patch on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove patch when using the -y flag.

yum update patch

This command will update patch to the latest version. When you run this command, you will be asked if you are sure that you want to remove patch, so you have to manually confirm that you want to do this.

yum -y update patch

This command will update patch to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove patch when using the -y flag.

yum info patch

This command will show you core information about the patch package.

yum deplist patch

This command will show you the dependencies for patch. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update patch

This command will check if there is an update waiting on patch. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.