yumによるRPMパッケージのパッケージグループ単位でのインストール

<<戻る

Fedoraインストール時のRPMパッケージインストール単位である「パッケージグループ」でRPMパッケージをインストールする。

例えば、Fedoraインストール時にはインストールしなかった「開発ツール(Development Tools)」をコマンド一発でインストールできる。

[root@linux ~]# yum grouplist ← RPMパッケージグループ検索
Setting up Group Process
Setting up Repo:  base
repomd.xml                100% |=========================| 1.1 kB    00:00
Setting up Repo:  updates-released
repomd.xml                100% |=========================|  951 B    00:00
Installed Groups:
   Compatibility Arch Support
   Mail Server
   Web Server
Available Groups:
   Administration Tools
   Authoring and Publishing
   Compatibility Arch Development Support
   DNS Name Server
   Development Tools
   Editors
   Engineering and Scientific
   FTP Server
   GNOME Desktop Environment
   GNOME Software Development
   Games and Entertainment
   Graphical Internet
   Graphics
   KDE (K Desktop Environment)
   KDE Software Development
   Legacy Network Server
   Legacy Software Development
   MySQL Database
   Network Servers
   News Server
   Office/Productivity
   PostgreSQL Database
   Printing Support
   Server Configuration Tools
   Sound and Video
   System Tools
   Text-based Internet
   Windows File Server
   X Software Development
   X Window System
   XFCE
   XFCE Software Development
   x86 Compatibility Arch Development Support
Done

[root@linux ~]# yum -y groupinstall "Web Server" ← 「Web Server」パッケージグループをインストールする
Setting up Group Process
Setting up Repo:  base
repomd.xml                100% |=========================| 1.1 kB    00:00
Setting up Repo:  updates-released
repomd.xml                100% |=========================|  951 B    00:00
comps.xml                 100% |=========================| 591 kB    00:03
Reading repository metadata in from local files
base      : ################################################## 2622/2622
primary.xml.gz            100% |=========================|  73 kB    00:03
MD Read   : ################################################## 175/175
updates-re: ################################################## 175/175
Passing package list to Install Process
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for tux to pack into transaction set.
tux-3.2.18-2.i386.rpm     100% |=========================|  13 kB    00:00
---> Package tux.i386 0:3.2.18-2 set to be installed
---> Downloading header for httpd to pack into transaction set.
httpd-2.0.52-3.1.i386.rpm 100% |=========================|  58 kB    00:05
---> Package httpd.i386 0:2.0.52-3.1 set to be installed
---> Downloading header for mod_python to pack into transaction set.
mod_python-3.1.3-5.i386.r 100% |=========================|  22 kB    00:00
---> Package mod_python.i386 0:3.1.3-5 set to be installed
---> Downloading header for mod_ssl to pack into transaction set.
mod_ssl-2.0.52-3.1.i386.r 100% |=========================|  20 kB    00:01
---> Package mod_ssl.i386 1:2.0.52-3.1 set to be installed
---> Downloading header for distcache to pack into transaction set.
distcache-1.4.5-6.i386.rp 100% |=========================| 7.2 kB    00:00
---> Package distcache.i386 0:1.4.5-6 set to be installed
---> Downloading header for webalizer to pack into transaction set.
webalizer-2.01_10-25.i386 100% |=========================| 9.4 kB    00:00
---> Package webalizer.i386 0:2.01_10-25 set to be installed
---> Downloading header for php-ldap to pack into transaction set.
php-ldap-4.3.9-3.i386.rpm 100% |=========================|  15 kB    00:00
---> Package php-ldap.i386 0:4.3.9-3 set to be installed
---> Downloading header for squid to pack into transaction set.
squid-2.5.STABLE6-3.i386. 100% |=========================| 119 kB    00:01
---> Package squid.i386 7:2.5.STABLE6-3 set to be installed
---> Downloading header for nss_db to pack into transaction set.
nss_db-2.2-29.i386.rpm    100% |=========================| 6.7 kB    00:00
---> Package nss_db.i386 0:2.2-29 set to be installed
---> Downloading header for stunnel to pack into transaction set.
stunnel-4.05-3.i386.rpm   100% |=========================| 9.7 kB    00:00
---> Package stunnel.i386 0:4.05-3 set to be installed
---> Downloading header for mod_perl to pack into transaction set.
mod_perl-1.99_16-3.i386.r 100% |=========================|  67 kB    00:01
---> Package mod_perl.i386 0:1.99_16-3 set to be installed
---> Downloading header for redhat-lsb to pack into transaction set.
redhat-lsb-1.3-4.i386.rpm 100% |=========================| 6.9 kB    00:00
---> Package redhat-lsb.i386 0:1.3-4 set to be installed
---> Downloading header for system-config-network-tui to pack into transaction set.
system-config-network-tui 100% |=========================|  49 kB    00:00
---> Package system-config-network-tui.noarch 0:1.3.22-1 set to be installed
---> Downloading header for crypto-utils to pack into transaction set.
crypto-utils-2.1-4.i386.r 100% |=========================| 5.9 kB    00:00
---> Package crypto-utils.i386 0:2.1-4 set to be installed
---> Downloading header for httpd-manual to pack into transaction set.
httpd-manual-2.0.52-3.1.i 100% |=========================|  83 kB    00:05
---> Package httpd-manual.i386 0:2.0.52-3.1 set to be installed
---> Downloading header for up2date to pack into transaction set.
up2date-4.3.47-5.i386.rpm 100% |=========================|  66 kB    00:01
---> Package up2date.i386 0:4.3.47-5 set to be installed
---> Downloading header for php to pack into transaction set.
php-4.3.9-3.i386.rpm      100% |=========================|  20 kB    00:00
---> Package php.i386 0:4.3.9-3 set to be installed
--> Running transaction check
--> Processing Dependency: newt-perl for package: crypto-utils
--> Processing Dependency: httpd-suexec for package: httpd
--> Processing Dependency: libgd.so.2 for package: webalizer
--> Processing Dependency: php-pear for package: php
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for newt-perl to pack into transaction set.
newt-perl-1.08-7.i386.rpm 100% |=========================| 8.6 kB    00:00
---> Package newt-perl.i386 0:1.08-7 set to be installed
---> Downloading header for httpd-suexec to pack into transaction set.
httpd-suexec-2.0.52-3.1.i 100% |=========================|  18 kB    00:00
---> Package httpd-suexec.i386 0:2.0.52-3.1 set to be installed
---> Downloading header for gd to pack into transaction set.
gd-2.0.28-1.30.1.i386.rpm 100% |=========================| 5.9 kB    00:00
---> Package gd.i386 0:2.0.28-1.30.1 set to be installed
---> Downloading header for php-pear to pack into transaction set.
php-pear-4.3.9-3.i386.rpm 100% |=========================|  30 kB    00:00
---> Package php-pear.i386 0:4.3.9-3 set to be installed
--> Running transaction check

Dependencies Resolved
Transaction Listing:
  Install: crypto-utils.i386 0:2.1-4
  Install: distcache.i386 0:1.4.5-6
  Install: httpd.i386 0:2.0.52-3.1
  Install: httpd-manual.i386 0:2.0.52-3.1
  Install: mod_perl.i386 0:1.99_16-3
  Install: mod_python.i386 0:3.1.3-5
  Install: mod_ssl.i386 1:2.0.52-3.1
  Install: nss_db.i386 0:2.2-29
  Install: php.i386 0:4.3.9-3
  Install: php-ldap.i386 0:4.3.9-3
  Install: redhat-lsb.i386 0:1.3-4
  Install: squid.i386 7:2.5.STABLE6-3
  Install: stunnel.i386 0:4.05-3
  Install: system-config-network-tui.noarch 0:1.3.22-1
  Install: tux.i386 0:3.2.18-2
  Install: up2date.i386 0:4.3.47-5
  Install: webalizer.i386 0:2.01_10-25

Performing the following to resolve dependencies:
  Install: gd.i386 0:2.0.28-1.30.1
  Install: httpd-suexec.i386 0:2.0.52-3.1
  Install: newt-perl.i386 0:1.08-7
  Install: php-pear.i386 0:4.3.9-3
Downloading Packages:
tux-3.2.18-2.i386.rpm     100% |=========================|  81 kB    00:01
httpd-2.0.52-3.1.i386.rpm 100% |=========================| 881 kB    00:56
mod_python-3.1.3-5.i386.r 100% |=========================| 568 kB    00:03
mod_ssl-2.0.52-3.1.i386.r 100% |=========================|  89 kB    00:06
distcache-1.4.5-6.i386.rp 100% |=========================| 111 kB    00:01
webalizer-2.01_10-25.i386 100% |=========================| 101 kB    00:00
php-ldap-4.3.9-3.i386.rpm 100% |=========================|  31 kB    00:00
squid-2.5.STABLE6-3.i386. 100% |=========================| 1.1 MB    00:05
nss_db-2.2-29.i386.rpm    100% |=========================| 512 kB    00:02
stunnel-4.05-3.i386.rpm   100% |=========================| 116 kB    00:00
mod_perl-1.99_16-3.i386.r 100% |=========================| 1.4 MB    00:07
redhat-lsb-1.3-4.i386.rpm 100% |=========================|  14 kB    00:00
system-config-network-tui 100% |=========================| 1.4 MB    00:06
crypto-utils-2.1-4.i386.r 100% |=========================|  33 kB    00:00
httpd-manual-2.0.52-3.1.i 100% |=========================| 1.5 MB    01:39
up2date-4.3.47-5.i386.rpm 100% |=========================| 1.3 MB    00:06
php-4.3.9-3.i386.rpm      100% |=========================| 1.3 MB    00:07
newt-perl-1.08-7.i386.rpm 100% |=========================|  78 kB    00:00
httpd-suexec-2.0.52-3.1.i 100% |=========================|  24 kB    00:01
gd-2.0.28-1.30.1.i386.rpm 100% |=========================| 119 kB    00:07
php-pear-4.3.9-3.i386.rpm 100% |=========================| 263 kB    00:01
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: gd 100 % done 1/21
Installing: newt-perl 100 % done 2/21
Installing: distcache 100 % done 3/21
Installing: up2date 100 % done 4/21
Installing: system-config-network-tui 100 % done 5/21
Installing: redhat-lsb 100 % done 6/21
Installing: stunnel 100 % done 7/21
Installing: nss_db 100 % done 8/21
Installing: squid 100 % done 9/21
Installing: tux 100 % done 10/21
Installing: httpd 100 % done 11/21
Installing: mod_perl 100 % done 12/21
Installing: httpd-suexec 100 % done 13/21
Installing: crypto-utils 100 % done 14/21
Installing: mod_python 100 % done 15/21
Installing: mod_ssl 100 % done 16/21
Installing: webalizer 100 % done 17/21
Installing: httpd-manual 100 % done 18/21
Installing: php 100 % done 19/21
Installing: php-ldap 100 % done 20/21
Installing: php-pear 100 % done 21/21

Installed: crypto-utils.i386 0:2.1-4 distcache.i386 0:1.4.5-6 httpd.i386 0:2.0.52-3.1 httpd-manual.i386 0:2.0.52-3.1 
mod_perl.i386 0:1.99_16-3 mod_python.i386 0:3.1.3-5 mod_ssl.i386 1:2.0.52-3.1 nss_db.i386 0:2.2-29 php.i386 0:4.3.9-3 
php-ldap.i386 0:4.3.9-3 redhat-lsb.i386 0:1.3-4 squid.i386 7:2.5.STABLE6-3 stunnel.i386 0:4.05-3 
system-config-network-tui.noarch 0:1.3.22-1 tux.i386 0:3.2.18-2 up2date.i386 0:4.3.47-5 webalizer.i386 0:2.01_10-25
Dependency Installed: gd.i386 0:2.0.28-1.30.1 httpd-suexec.i386 0:2.0.52-3.1 newt-perl.i386 0:1.08-7 php-pear.i386 0:4.3.9-3
Complete!
修正キー


■関連コンテンツ




▲このページのトップへ戻る

プライバシーポリシー
centossrv.com