On Mon, 2007-02-05 at 10:58 -0500, Alexander Lopez
wrote:> Hi Friends.. My name is Alexander... I installed CentOS 4.4 x86_64
> Server from ServerCD. My questios is: If I can install develop tools
> from CD's CentOS 4.4 x86_64.. Help me please...
Yes. See the comments in /etc/yum.repos.d/CentOS-Media.repo ...
# cat /etc/yum.repos.d/CentOS-Media.repo
# CentOS-Media.repo
#
# This repo is used to mount the default locations for a CDROM / DVD on
# CentOS-4. You can use this repo and yum to install items directly
off the
# DVD ISO that we release.
#
# To use this repo, put in your DVD and use it with the other repos too:
# yum --enablerepo=c4-media [command]
#
# or for ONLY the media repo, do this:
#
# yum --disablerepo=\* --enablerepo=c4-media [command]
[c4-media]
name=CentOS-$releasever - Media
baseurl=file:///media/cdrom/
file:///media/cdrecorder/
gpgcheck=1
enabled=0
gpgkey=file:///usr/share/doc/centos-release-4/RPM-GPG-KEY-centos4
For example (on my i386 Workstation system, not server CD, but hopefully
relevant) with the DVD mounted at /media/cdrom:
# yum --disablerepo=\* --enablerepo=c4-media grouplist
Loading "fastestmirror" plugin
Loading "priorities" plugin
Loading "protectbase" plugin
Setting up Group Process
Setting up repositories
file:///media/cdrecorder/repodata/repomd.xml: [Errno 5] OSError: [Errno
2] No such file or directory: '/media/cdrecorder/repodata/repomd.xml'
Trying other mirror.
c4-media 100% |=========================| 1.1 kB
00:00
Loading mirror speeds from cached hostfile
file:///media/cdrecorder/repodata/yumgroups.xml: [Errno 5] OSError:
[Errno 2] No such file or directory:
'/media/cdrecorder/repodata/yumgroups.xml'
Trying other mirror.
yumgroups.xml 100% |=========================| 557 kB
00:00
Installed Groups:
Administration Tools
Authoring and Publishing
Compatibility Arch Support
DNS Name Server
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
Mail Server
MySQL Database
News Server
Office/Productivity
PostgreSQL Database
Printing Support
Server Configuration Tools
Sound and Video
System Tools
Text-based Internet
Web Server
Windows File Server
X Software Development
X Window System
Available Groups:
Compatibility Arch Development Support
Development Tools
Legacy Software Development
Network Servers
Done
So, try:
# yum --disablerepo=\* --enablerepo=c4-media groupinstall "Development
Tools"
Phil