Summary of the use of Yum installation software in Linux systems

Source: Internet
Author: User
Tags install php imagemagick

From Windows to Linux, one of the unaccustomed places is that it's very slow to install and remove software from the graphical interface. But if you have mastered the configuration program using Yum's command-line mode, you will certainly love this powerful tool from the bottom of your heart. Because Yum provides commands to find, install, and delete one, a group, or even all of the packages, and the commands are concise and well-remembered.

Yum's command form is generally as follows: Yum [options] [command] [package ...]
The options are optional, including-H (Help),-y (when the installation process prompts you to select all "Yes"),-Q (does not show the installation process), and so on. [command] for the action you want to take, [package ...] Is the object of the operation.

Summarizes some of the commonly used commands include:

Automatically search for the fastest image plugin: Yum install Yum-fastestmirror
Installing the Yum graphics window plugin: Yum install Yumex

1 installation
Yum Install all installed
Yum Install Package1 installs the specified installation package Package1
Yum groupinsall group1 Installer group group1
2 Updates and Upgrades

Yum Update all updates
Yum Update package1 update specified package package1
Yum check-update Check for updatable programs
Yum upgrade Package1 Upgrade specified package Package1
Yum groupupdate group1 upgrade program group Group1
3 Find and display
Yum info package1 Display installation package information Package1
Yum list Displays all installed and installable packages
Yum List Package1 Displays the specified package installation package1
Yum groupinfo group1 Display program group group1 information Yum Search String to find the installation package
4 Remove Programs
from the keyword string yum remove | Erase package1 Remove package package1
Yum groupremove group1 Remove program group Group1
Yum deplist package1 Viewer package1 Dependencies
5 Clear Cache
Yum Clean packages Clear Cache directory packages
Yum Clean headers Clear Cache directory headersyum clean oldheaders clears the cache directory for the old headers
Yum clean, yum clear all (= Yum cleaner packages; Yum cleanoldheaders) clears the cache directory for the soft Package and the old headers

For example, to install a game program group, first look for:
#:yum grouplist
It can be found that the installable game package name is "games and entertainment" so that it can be installed:
#:yum Groupinstall "Games and entertainment"
All the game packages are installed automatically. Here the name of the Games Andentertainment must be selected in double quotes, because Linux encounters a space below it will assume that the file name ends, so you must tell the system installed package name is "Gamesand Entertainment" instead of "games".

In addition, you can modify the configuration file/etc/yum.conf Select the installation source. It can be seen how easy it is to configure the Yum program. More detailed options and commands, of course, just below the command prompt line: Manyum

Yum grouplist View a list of possible bulk install packages (personal feeling is useful)

Yumgroupinstall "KDE (K Desktop environment)"

Yum Install Pirut k3b mikmod

Yum Groupinstall "Server Configuration Tools"

Yum Groupinstall "Sound and Video"

#yum groupinstall "GNOME Desktop Environment"

Yum Groupinstall "Legacy software Support"

Yum Groupinstall "Development Libraries"

Yum Groupinstall "Development Tools"

#yum groupinstall "Windows File Server"

Yum Groupinstall "System Tools"

Yum groupinstall "X window System"

Yum Install PHP-GD
Yum Install Gd-devel
Yum Groupinstall "Chinese support"


#yum Install Samba-common (This action installs samba-client together)
#yum Install Samba

Yum Install GCC
Yum Install CPP
Yum Install gcc-c++
Yum Install ncurses
Yum Install Ncurses-devel
Yum Install Gd-devel PHP-GD
Yum Install Gd-devel
Yum Install GCC
Yum Install CPP
Yum Install gcc-c++
Yum Install ncurses
Yum Install Ncurses-devel
Yum Install Gd-devel PHP-GD
Yum Install Gd-devel
Yum Install Zlib-devel
Yum Install Freetype-devel Freetype-demos freetype-utils
Yum Install Libpng-devel libpng10 libpng10-devel
Yum Install Libjpeg-devel
Yum Install ImageMagick
Yum Install PHP-GD
Yum Install Flex
Yum Install Imagemagick-devel


#yum Installsystem-config-bind
#yum groupinstall "DNS NameServer"//install BIND and Bind-chroot Kit
Yum Groupinstall "MySQL Database"

Yum Clean All

Summary of the use of Yum installation software in Linux systems

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.