Operating System - Linux
1828073 Members
2167 Online
109974 Solutions
New Discussion

How do i add patches to a package

 
Chakravarthi
Trusted Contributor

How do i add patches to a package

Hi,

How to install patch to a specific package in linux,

chakri
5 REPLIES 5
Vitaly Karasik_1
Honored Contributor

Re: How do i add patches to a package

In most cases you should just install new version of package instead old version.

In RPM-based distros you should use

rpm -U pacjage_name.rpm

command.

Rgds,
Vitaly
Muthukumar_5
Honored Contributor

Re: How do i add patches to a package

To install updation of RPM then,

rpm -Uvh .rpm

IF you want to patch a patch file to a source then,

patch -p1 <
or
patch -p0 <

HTH.
Easy to suggest when don't know about the problem!
HGN
Honored Contributor

Re: How do i add patches to a package

Hi

Generally the patches are rpm's so the existing rpm's needed to be upgraded

You have to use

rpm -Uvh xxx.rpm

This will upgrade the existing rpm.

Rgds

HGN
Jan Sladky
Trusted Contributor

Re: How do i add patches to a package

hi Chakri,

just install newest package by

rpm -Uvh package.rpm

it will work ;-)

br Jan
GSM, Intelligent Networks, UNIX
dirk dierickx
Honored Contributor

Re: How do i add patches to a package

In the linux world, when you are talking about pre-packaged binaries there are no patches.

What does exist are updates to previous packages, which contain bug/security-fixes.

As a result you can just install the updates with RPM as any normal package (because, it is, in fact a normal package).