Upgrade RPM package on Centos Redhat RHEL Fedora

Upgrade RPM package on Centos Redhat RHEL Fedora

RPM upgrade

There are always risks associated with upgrades a package on Linux. It will overwrite configuration files on your software package.

Step 1: Checking present status of package.

[root@localhost ~]# rpm -qi php-common
Name : php-common Relocations: (not relocatable)
Version : 5.3.19 Vendor: Remi Collet
Release : 1.el6.remi Build Date: Wed 21 Nov 2012 10:30:56 PM PST
Install Date: Sun 29 Sep 2013 02:44:49 AM PDT Build Host: dixsept.famillecollet.com
Group : Development/Languages Source RPM: php-5.3.19-1.el6.remi.src.rpm
Size : 6585257 License: PHP
Signature : DSA/SHA1, Wed 21 Nov 2012 11:39:16 PM PST, Key ID 004e6f4700f97f56
Packager : http://blog.famillecollet.com/
URL : http://www.php.net/
Summary : Common files for PHP
Description :
The php-common package contains files used by both the php
package and the php-cli package.
[root@localhost ~]#

Step 2: Download and upgrade the RPM package

Command upgrade RPM package: rpm -Uvh packagename

[root@localhost ~]# wget http://rpms.famillecollet.com/enterprise/6/olds/x86_64/php-common-5.3^C3-1.el6.remi.x86_64.rpm
[root@localhost ~]# rpm -Uvh php-common-5.3.23-1.el6.remi.x86_64.rpm
Preparing… ########################################### [100%]WARNING : These php-* RPM are not official Fedora/Redhat build and
overrides the official ones. Don’t file bugs on Fedora Project nor Redhat.Use dedicated forums http://forums.famillecollet.com/

1:php-common ########################################### [100%]
[root@localhost ~]#

Step 3: We upgraded the package successfully.

[root@localhost ~]# rpm -qi php-common
Name : php-common Relocations: (not relocatable)
Version : 5.3.23 Vendor: Remi Collet
Release : 1.el6.remi Build Date: Fri 15 Mar 2013 01:54:13 AM PDT
Install Date: Sun 29 Sep 2013 02:46:48 AM PDT Build Host: dixsept.famillecollet.com
Group : Development/Languages Source RPM: php-5.3.23-1.el6.remi.src.rpm
Size : 6588847 License: PHP
Signature : DSA/SHA1, Fri 15 Mar 2013 02:00:07 AM PDT, Key ID 004e6f4700f97f56
Packager : http://blog.famillecollet.com/
URL : http://www.php.net/
Summary : Common files for PHP
Description :
The php-common package contains files used by both the php
package and the php-cli package.
[root@localhost ~]#

Thanks for using IThelpblog.com.

 

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>