YUM command details-Linux general technology-Linux technology and application information. The following is a detailed description. The yum command is actually equivalent to a graph Upgrade Program in Linux.> as we all know, the up2date under the GUI will be suspended, the yum used on the Character interface is not limited by this restriction. It is fast and has many parameters.
Several common parameters of yum;
1. # yum list | more # This is to view all the installation packages on the upgrade source, and add
# And more are displayed by page;
Setting up repositories # the connection and the software package name. version are displayed,
Reading repository metadata in from local files # and whether to install
Installed Packages
4Suite. i386 1.0-8. b1 installed # installed
Canna. i386 3.7p3-13 installed
Canna-devel.i386 3.7p3-13 installed.
2. If you want to know more about a software package, use the info command;
# Yum info kernel
... # I will not demonstrate this. Please refer to it on the spot.
3. Check whether the new version of the software package has an upgrade package>, available
# Yum serch kernel | more # excessive information, displayed by minute
# Optional
# Yum list | grep kernel # same result as above
For example, if the i686 machine is used by most of us, is there any update like this?
# Yum info kernel. i686 # If there is a new one, you will be prompted whether to update y/n
For more information, see:
Yum list installed # All installed names
Yum list updates # All updatable packages
4. installation package:
Yum install samba # The problem is solved.
Yum update kernel # Upgrade kernel. What if no parameter is added!
5. Remove the package:
Yum remove bmb-mp3 # remove this package. y is clear
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service