How To Remove a Package Without the Dependencies (yum/rpm)

Author: , January 9th, 2018

To remove a specific package without its dependencies use rpm: 1 2 rpm -qa | grep pecl rpm -e –nodeps php55-pecl-jsonc php55-pecl-jsonc-devel rpm -qa | grep pecl rpm -e –nodeps php55-pecl-jsonc php55-pecl-jsonc-devel As always, YMMV!

How To Upgrade PHP to PHP53 On CentOS

Author: , August 22nd, 2011

1 2 3 4 # service httpd stop # yum erase php-common php # yum install php53* # service httpd start # service httpd stop # yum erase php-common php # yum install php53* # service httpd start To get mcrypt installed, read this post: http://www.ericmichaelstone.com/?p=4702