PDA

View Full Version : How To cache RPM Packages While Installing


DukeNukem
22-11-2007, 10:52 AM
Hi there to all of You,

Does any one know how to keep RPM Packages which are installed with
"rpm -ivh XXXX.rpm", so that if i format my PC, (Which i do once or twice in a week (don ask why or if iam a j@#$a@@) ) i can install then without Connecting to the Net

This Will Be a great help to Me

vish786
22-11-2007, 11:42 AM
your query is inappropriate, what exactly do you want ? i'm assuming that you have an rpm packaged distro... for fedora rpms are stored in /var/cache/yum, for mandriva its /var/cache/urpmi/rpms (but while installing packages thru urpmi in mandriva instead of using "urpmi package_name.rpm" use "urpmi noclean package_name.rpm" this will not delete package after installation.)

mediator
22-11-2007, 11:44 AM
Which distro sire?
Fedora => copy rpms from yum cache

DukeNukem
22-11-2007, 05:32 PM
Iam Sorry for this,

What i want to do is I use to install the Softwares (iam using fedora 7&8)
from repos. (linva or fedora's Own ) using rpm command.
is there any way to keep them in my harddrive, for future use. after the installation is complete (Iam Quite new to linux, don mind if my ques. are inappropriate or spellins are rong (lol))