mount: block device /dev/hdc is write-protected, mounting read-only # cd /mnt/cdrom/Server # time for i in `ls -1`; do if rpm -q --provides -p $i | grep -q libglib-2.0.so.0 then echo $i break fi done glib2-2.22.2-2.fc12.i686.rpm
# yum list Loaded plugins: rhnplugin, security This system is not registered with RHN. RHN support will be disabled. dvd | 1.3 kB 00:00 dvd/primary | 732 kB 00:00 dvd: [##############################################################] 2292/2292/
Available Packages Deployment_Guide-as-IN.noarch 5.2-11 dvd Deployment_Guide-bn-IN.noarch 5.2-11 dvd Deployment_Guide-de-DE.noarch 5.2-11 dvd ...... zlib-devel.i386 1.2.3-3 dvd zsh.i386 4.2.6-3.el5 dvd zsh-html.i386 4.2.6-3.el5 dvd
# yum install gcc Loaded plugins: rhnplugin, security This system is not registered with RHN. RHN support will be disabled. Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package gcc.i386 0:4.1.2-46.el5 set to be updated --> Processing Dependency: libgomp >= 4.1.2-46.el5 for package: gcc --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc ... --> Finished Dependency Resolution
Dependencies Resolved
================================================================================ Package Arch Version Repository Size ================================================================================ Installing: gcc i386 4.1.2-46.el5 dvd 5.2 M Installing for dependencies: glibc-devel i386 2.5-42 dvd 2.0 M ...
Total download size: 8.8 M Is this ok [y/N]: y Downloading Packages: -------------------------------------------------------------------------------- Total 1.2 GB/s | 8.8 MB 00:00 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : kernel-headers 1/5 ... Installing : gcc 5/5
[root@localhost root]# yum grouplist Loaded plugins: rhnplugin, security This system is not registered with RHN. RHN support will be disabled. Setting up Group Process dvd/group | 1.0 MB 00:00 Installed Groups: Administration Tools Editors GNOME Desktop Environment ...
Available Groups: Authoring and Publishing DNS Name Server Development Libraries ...
[root@localhost root] # yum groupinstall "MySQL Database" Loaded plugins: rhnplugin, security This system is not registered with RHN. RHN support will be disabled. Setting up Group Process Resolving Dependencies ... --> Finished Dependency Resolution
Dependencies Resolved
================================================================================ Package Arch Version Repository Size ================================================================================ Installing: MySQL-python i386 1.2.1-1 dvd 82 k libdbi-dbd-mysql i386 0.8.1a-1.2.2 dvd 17 k ... Installing for dependencies: libdbi i386 0.8.1-2.1 dvd 35 k libdbi-drivers i386 0.8.1a-1.2.2 dvd 14 k ...
Total download size: 17 M Is this ok [y/N]: y Downloading Packages: --------------------------------------------------------------------------- Total 1.3 GB/s | 17 MB 00:00 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : perl-DBI 1/12 Installing : mysql 2/12 ... Installing : libdbi-dbd-mysql 12/12