yum like apt-get
i've used for a while a machine with dabian and i've found very usefull using apt-get to install packages also from installation cd or separately downloaded. is it possible perform the same with yum or is it designed only for download and istall from the net?
|
I've never actually done this with a CD, but consider the possibility:
cd into /var/cache/yum and create "cdrom" as a directory. cd into it, and symlink the location of the cd's rpms to "packages". read the yum-arch manpage and create the headers for the rpms. Then, do a yum install of the packages, and tell yum to operate entirely from cache. It should see the cd's rpms there, be able to read the headers you generated, and install them. You may have to add an entry for cdrom in your yum.conf file, but I'm not sure. Give it a shot and let us know. -Corey |
Instead of re-using Yum's cache directory, you can create a local repository with yum-arch (FC2) or createrepo (FC3) everywhere else and point yum to it with baseurl=file:///path instead of baseurl=http:// locations.
|
Re: yum like apt-get
Quote:
|
All times are GMT -5. The time now is 10:14 AM. |