Yum groupinstall "Development Tools" install Linux software in batches
Note: You can use yum grouplist to view the list of possible batch installation tasks.
From Windows to Linux, it is not a habit to install and delete software on the GUI very slowly. However, if you have mastered the configuration program using the yum command line mode, you will certainly like this powerful tool from the bottom of your heart. Yum provides commands for searching, installing, and deleting one or more software packages. The commands are concise and easy to remember.
The command Format of yum is generally as follows: yum [options] [command] [package...]
[Options] are optional, including-h (HELP) and-y (when the installation prompt is "yes "), -q (the installation process is not displayed. [Command] is the operation object. [package...] is the operation object.
Some Common commands are summarized as follows:
The fastest image plugin for automatic search: yum install yum-fastestmirror
Install the yum graphic window plug-in: yum install yumex
1 Installation
Install yum install all
Yum install package1 install the specified installation package1
Yum groupinsall group1 installer group group1
2. update and upgrade
Yum update all updates
Yum update package1 update specified package1 package1
Yum check-update check updatable programs
Yum upgrade package1 upgrade specified package1 package1
Yum groupupdate group1 Upgrade Program Group group1
3 search and display
Yum info package1: package1
Yum list displays all installed and installable packages
Yum list package1 displays package1 installation of the specified package
Yum groupinfo group1 display group1 information of the Program Group yum search string find the installation package based on the keyword string
4. delete a program
Yum remove | erase package1 Delete package1
Yum groupremove group1 Delete group1
Yum deplist package1 check package1 Dependencies
5. Clear Cache
Yum clean packages clear software packages in the cache directory
Yum clean headers clear headers in the cache directory
Yum clean oldheaders clear old headers in the cache directory
Yum clean, yum clean all (= yum clean packages; yum clean oldheaders) Clear the packages and old headers in the cache directory
For example, to install a game program group, first perform the following operations:
#: Yum grouplist
It can be found that the installable game package name is "Games and Entertainment", so that you can install it:
#: Yum groupinstall "Games and Entertainment"
All game packages are automatically installed. Here, the names of Games and Entertainment must be selected in double quotation marks, because the names of Games and Entertainment are ended when spaces are encountered in linux, therefore, you must tell the system to install the package named "Games and Entertainment" instead of "Games ".
You can also modify the configuration file/etc/yum. conf to select the installation source. It can be seen that the configuration program of yum is easy for many Parties. For more detailed options and commands, you only need to follow the command prompt line below: man yum
Yum groupinstall "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 operation will install 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 install system-config-bind
# Yum groupinstall "DNS Name Server" // set bind and bind-chroot
Yum groupinstall "MySQL Database "'
Yum clean all
This article permanently updates the link address: