LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   restoring rpm packages in fedora (http://www.linuxquestions.org/questions/linux-newbie-8/restoring-rpm-packages-in-fedora-925316/)

ron2794 01-23-2012 01:41 PM

restoring rpm packages in fedora
 
i was earlier an ubuntu user and I used to keep my .deb files backup with me located at /var/cache......
in the filesystem of ubuntu, now i want the same thing in fedora also where all of my .rpm files are stored and whom i can easily restore whenever i install new fresh installation of fedora like i used to do it in ubuntu with the command
sudo dpkg -i *.deb

Please tell me any such way ?

acid_kewpie 01-23-2012 01:52 PM

by default they aren't stored anywhere. You can easily reinstall them via yum or whatever other automated mechanism they are installed by.

John VV 01-23-2012 04:36 PM

What version of fedora ? I am assuming fedora 16

you might want to have a read through the fedora documentation
http://docs.fedoraproject.org/en-US/index.html
"Deployment_Guide"
http://docs.fedoraproject.org/en-US/...ide/index.html

ron2794 01-24-2012 05:01 AM

Quote:

Originally Posted by acid_kewpie (Post 4582424)
by default they aren't stored anywhere. You can easily reinstall them via yum or whatever other automated mechanism they are installed by.

well ya i will be reinstalling them, but i don't want to download all that packages again from the internet, can't it be done just offline..?

jschiwal 01-24-2012 05:23 AM

Is there an option in the package manager whether to retain downloaded RPMs? If so, select it and look under /var/cache/yum/ for a directory probably named RPMS.

----
update:
I was able to find this in a Google search quite easily:
http://www.techpulp.com/blog/2010/01...loaded-by-yum/
I hope it is current. You can edit /etc/yum.conf so the rpms are retained. The web page has more details.


All times are GMT -5. The time now is 05:46 AM.