LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-09-2009, 07:47 AM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Rep: Reputation: 51
Where does RPM get install?


I just want to know where does all RPm gets stored?
 
Old 03-09-2009, 07:58 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
It depends how you are installing them. An RPM contains program binaries, so they are placed in the relevant locations (maybe /bin, /sbin, configs in /etc and so on), but the rpm itself may not be stored.

If you use yum for example, the rpm is downloaded, installed and deleted (at least I assume this is the physical process, but have never needed to investigate in detail), unless you specify that you want the rpm saved (IIRC it's the keepcache directive for yum.conf)
 
Old 03-09-2009, 08:06 AM   #3
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Original Poster
Rep: Reputation: 51
I installed Subversion RPM through yum.
Now I just need to install Subversion on another machine.
Is it possible that I can retrieve RPM from the machine and put it on another with same architecture.
 
Old 03-09-2009, 08:10 AM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
See my note regarding the keepcache directive (I think that's the correct one - I don't generally store rpms myself). If you've already been through the process then the answer is probably no.

BM
 
Old 03-09-2009, 08:25 AM   #5
hackson
LQ Newbie
 
Registered: Mar 2009
Posts: 3

Rep: Reputation: 0
Hi Shadow,

I am re framing you question as " I have installed an RPM with Yum and i don't want to reinstall in another machine again from net and i want to make use of rpm which got stored for first machine and use locally..?"
The approach for this is, confirm before installing the package for the first time on the first machine keepcache=1 in /etc/yum.conf and notice the cache directory too. and after your installation, go to that location you can have those rpms and use these for yourself.

If any more information, pl get back to me

Do you know the usage of subversion along with trac/remdine to maintain the projects better, I guess you do, I found a site called click2try.com, you can test these applications running from ur browser and it is absolutely free/
 
Old 03-09-2009, 09:18 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
To know, where the files from a 'package.rpm' has gone,
use this command : rpm ql <package>

To keep packages, downloaded with yum, see this thread :
http://www.linuxquestions.org/questi...m-rpms-709728/

" .. files are stored in /var/cache/yum/<reponame>/packages/ "
.. and please read on to see, how to keep the packages.
( Usually "yum" will remove all packages after install )
.....
 
Old 03-09-2009, 09:59 AM   #7
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
By default, yum removes the RPM file after a successful installation, so you'll have a hard time finding them for later use. There is a plug-in (downloadonly) that will add a "downloadonly" option to yum so you can use it to download the rpm files which can then be installed using the rpm command.

If you have any rpm files in your cache, a sudo find /var/cache/ -name '*.rpm' command will list them. (Which I just ran on my system and discovered that apt -- which I'd installed a while ago -- apparently archives the rpm files, as does akmod, so I've got some wasted storage space on this laptop. But that's not your problem, eh?)
 
Old 03-09-2009, 03:35 PM   #8
sureshsujatha
Member
 
Registered: Mar 2009
Posts: 40

Rep: Reputation: 15
Quote:
Originally Posted by your_shadow03 View Post
I just want to know where does all RPm gets stored?
As far as I know - the /bin folder of your machine!

Last edited by sureshsujatha; 03-14-2009 at 01:31 AM.
 
Old 03-09-2009, 04:49 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
sureshsujatha
besides no useful info -- it is the wrong info
post reported
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Which path to use to query rpm to determine which RPM to install? elitt2 Red Hat 4 10-08-2007 02:18 PM
How to install remotely RPM if you dont have RPM!! reymoskito Fedora 1 05-05-2006 04:13 PM
How do I force an older rpm to install over a newer rpm of wine onyx Linux - Software 4 02-20-2004 01:44 AM
RPM 'failed dependencies': Why can I not install any rpm packages? leontini Linux - Newbie 7 09-16-2003 01:44 AM
Help : rpm dependency error when install video driver rpm ymdwxm Linux - Software 1 04-04-2003 05:55 PM


All times are GMT -5. The time now is 01:02 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration