Problems Installing Packages From The CD
So I did a minimal install of CentOS 7 vm guest just to find out it did not install perl. Since as of right now I have no properly functioning network on that machine (different issue; we can talk about that in another post), I went for the next best thing: install CD.
I grabbed the CentOS-7-x86_64-Everything-1611.iso CD (around 8GB), attached it to the guest, and mounted it on /mnt. Then I edited the
cat /etc/yum.repos.d/CentOS-Media.repo
# CentOS-Media.repo
#
# This repo can be used with mounted DVD media, verify the mount point for
# CentOS-7. 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
2 thoughts on - Problems Installing Packages From The CD
what does :
ls /mnt/
show .. do you see the tree (directories, trees) listed here:
http://mirror.CentOS.org/CentOS/7.3.1611/os/x86_64/
try yum list perl
The tree look similar.
When I try the yum list perl I am told “no matching packages to list.”
Isn’t that what the files in repodata are for?