yum installs the specified software version

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*

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326567244&siteId=291194637