yum

yum groupinstall "Development Tools" batch installation software linux

 

You can use yum grouplist to see which lists may be installed in batches

From Windows to Linux, one of the unaccustomed places is that the installation and removal of software under the graphical interface is very slow. But if you have mastered the configuration program using yum's command line mode, you will definitely like this powerful tool from the bottom of your heart. Because yum provides commands to find, install, delete a certain, a group or even all packages, and the commands are concise and easy to remember.

The command form of yum is generally as follows: yum [options] [command] [package ...]
where [options] is optional, options include -h (help), -y (when the installation process prompts, select all "" yes"), -q (do not show the installation process), etc. [command] is the operation to be performed, and [package...] is the object of the operation.

An overview of some commonly used commands include:

Automatically search for the fastest mirror plugin: yum install yum-fastestmirror
Install the yum graphical window plugin: yum install yumex

1 Install
yum install All install
yum install package1 Install the specified installation package package1
yum groupinsall group1 Installer group group1
2 Update and upgrade

yum update Update all
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 Display all installed and installable packages
yum list package1 Display the installation status of the specified package package1
yum groupinfo group1 Display the program group group1 information yum search string Find the installation package according to the keyword string
4 Remove the program
yum remove | erase package1 Delete Package package1
yum groupremove group1 Delete program group group1
yum deplist package1 Check program package1 dependencies
5 Clear cache
yum clean packages Clear packages in cache directory
yum clean headers Clear headers in cache directory
yum clean oldheaders Clear old headers in 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 the game program group, first search:
#: yum grouplist
can find that the name of the installable game program package is "Games and Entertainment", so it can be installed:
#: yum groupinstall "Games and Entertainment"
all The game package is automatically installed. The name of Games and Entertainment must be selected with double quotation marks here, because Linux will consider the file name to end when encountering a space below, so you must tell the system that the name of the package installed is "Games and Entertainment" instead of "Games".

In addition, you can also modify the configuration file /etc/yum.conf to select the installation source. It can be seen how convenient yum is to configure the program. More detailed options and commands, of course, just below the command prompt: 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 action 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" //Install bind and bind-chroot suite
yum groupinstall "MySQL Database"'

yum clean all

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325219772&siteId=291194637
yum