LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 12-17-2004, 08:15 AM   #1
pirozzi
Member
 
Registered: Sep 2003
Location: /naples/italy
Distribution: ubuntu 12.04 / Slackware 14
Posts: 150

Rep: Reputation: 15
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?
 
Old 12-17-2004, 09:50 AM   #2
cormander
Member
 
Registered: Dec 2004
Location: Hawaii
Distribution: Fedora & CentOS
Posts: 72

Rep: Reputation: 15
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
 
Old 12-22-2004, 04:09 PM   #3
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
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.
 
Old 12-22-2004, 04:29 PM   #4
drj000
Member
 
Registered: Sep 2004
Location: Houston, TX
Distribution: Fedora
Posts: 261

Rep: Reputation: 33
Re: yum like apt-get

Quote:
Originally posted by pirozzi
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?
If you're just installing a single rpm, or just a few, and you want to use yum, you can do yum localinstall file1.rpm [file2.rpm, etc]. That's how I always install my rpms.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Yum / Apt-get mikedeatworld Fedora 17 12-01-2005 08:31 AM
yum against APT programmershous Linux - Software 6 06-20-2005 08:45 AM
yum vs apt-get eranb2 Debian 2 02-27-2005 09:26 AM
yum vs apt-get eranb2 Red Hat 1 02-25-2005 01:11 PM
YUM vs APT-GET prismra Linux - Newbie 12 06-30-2004 03:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration