yum installs the specified software version
yum installs the specified software version
View yum installable versions (eg: prce)
#yum list prce
output:
pcre-7.8-6.el6.i686:Perl-compatibleregularexpressionlibrary
pcre-7.8-6.el6.x86_64:Perl-compatibleregularexpressionlibrary
pcre-7.8-6.el6.x86_64:Perl-compatibleregularexpressionlibrary
Find the version you want to install and enter:
#yum install pcre-7.8-6.el6.i686 -y
After installation, check the version of pcre and enter:
# rpm -qa | grep pcre
When installing multiple similar software
yum -y install httpd*
When installing multiple non-similar software
yum -y install httpd php php-gd MySQL
When uninstalling a software
yum -y remove httpd
Uninstall multiple similar software
yum -y remove httpd*