System Version:
CentOS-6.4-x86_64-minimal This system is a CD version, so it is basically a minimal installation version. Now, the system's default source is replaced with an easy source to ensure the speed of software download. The procedure is as follows:
1. download the new source and back up the local source [[email protected] ~] #
CD/etc/yum. Repos. d/ [[Email protected] ~] #
Wget http://mirrors.163.com/.help/CentOS6-Base-163.repo [[Email protected] ~] #
MV CentOS-Base.repo CentOS-Base.repo.bak [[Email protected] ~] #
MV CentOS6-Base-163.repo CentOS-Base.repo 2. Yum source update [[email protected] ~] #
Yum clean all & Yum makecache & Yum Update-y 3. Complete. Yum command tool Example 1. upgrade the system [[email protected] ~] # Yum Update 2. Install the specified Software Package [[email protected] ~] # Yum-y install mysql-Server 3. Upgrade the specified Software Package [[email protected] ~] # Yum-y update MySQL 4. Uninstall the specified Software Package [[email protected] ~] # Yum-y remore MySQL 5. View installed and available software groups in the system. For available software groups, you can install [[email protected] ~] # Yum grouplist 6. Install a software group in the available software group displayed in the previous command [[Email protected] ~] # Yum-y groupinstall Emacs 7. Update the software package in the specified software group [[email protected] ~] # Yum-y groupupdate Emacs 8. Uninstall the software package in the specified software group [[email protected] ~] # Yum-y groupremove Emacs 9. Clear the cache RPM header file and package file [[email protected] ~] # Yum clean all 10. Search for related software packages [[email protected] ~] # Yum-y search Emacs 11. display the information of the specified Software Package [[email protected] ~] # Yum info Emacs 12. query the dependent packages of a specified Software Package [[email protected] ~] # Yum deplist Emacs 13. list all software packages starting with Yum [[email protected] ~] # Yum list Yum \ * 14. List RPM packages installed but not included in the resource library [[Email protected] ~] ## Yum list extras