DIGIT-ARC read-only archive · snapshot: July 23, 2026

How To cache RPM Packages While Installing

4 posts · originally from https://geek.digit.in/community/threads/how-to-cache-rpm-packages-while-installing.73817/

DukeNukem
DukeNukem Original post #1
Nov 22, 2007 at 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
vish786 #2
Nov 22, 2007 at 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
Nov 22, 2007 at 11:44 AM
Which distro sire?
Fedora => copy rpms from yum cache
DukeNukem
Nov 22, 2007 at 5: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))