I'm looking for the "development-tools" for Fedora, but I can't find information about how/where to download it to install offline (I have no internet connection in my Fedora).
Attempt 1: There's a hint here about how to use the DVD as repository, but I don't have the media.repo in the root of my Fedora 15 DVD.. any idea where's it?
Attempt 2: I also found this image, in a page saying that I can choose during the installation to install the development-tools. But I just re-installed Fedora paying attention, and didn't saw that screen or that option..
Attempt 3: I found this approach, but it requires to install the createrepo, and I can't install a thing here..
Using Bakha Nurzhanov's approach:
Mount your DVD media: mount -r /dev/cdrom /media/CentOS Create file /etc/yum.repos.d/CentOS-Media.repo with the following content:
[c5-media]
name=CentOS-$releasever - Media
baseurl=file:///media/CentOS/
gpgcheck=0
enabled=0
Use your DVD to install "Development Tools"
yum --disablerepo=\* --enablerepo=c5-media groupinstall "Development Tools"
On this last step I got:
$ yum --disablerepo=\* --enablerepo=c5-media
Loaded plugins: langpacks, presto, refresh-packagekit
file:///media/CentOS/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/CentOS/repodata/repomd.xml
Trying other mirror.
You need to give some command
Usage: yum [options] COMMAND
I checked, really there's no repodata folder or repomd.xml file.. Here's the DVD tree:
$ tree
.
├── EFI
│ └── boot
│ ├── bootx64.conf
│ ├── bootx64.efi
│ ├── grub.conf
│ ├── initrd0.img
│ ├── isolinux.bin
│ ├── isolinux.cfg
│ ├── memtest
│ ├── splash.jpg
│ ├── splash.xpm.gz
│ ├── vesamenu.c32
│ └── vmlinuz0
├── GPL
├── isolinux
│ ├── boot.cat
│ ├── initrd0.img
│ ├── isolinux.bin
│ ├── isolinux.cfg
│ ├── memtest
│ ├── splash.jpg
│ ├── vesamenu.c32
│ └── vmlinuz0
└── LiveOS
├── livecd-iso-to-disk
├── osmin.img
└── squashfs.img
4 directories, 23 files
Is my version of the DVD different of your? I downloaded the lastest from the site..
.imgfiles. There should be a subdirectory somewhere/CentOS/RPMSor something similar. – Aaron D. Marasco Jul 13 '11 at 2:23media" - if it is the correct image, it will have a/CentOS/like I had said. The DVDs I have always used have the same file tree as centos.mirror.facebook.net/5/os/x86_64 I still say you have a "Live" version, which is different. – Aaron D. Marasco Jul 17 '11 at 12:47