LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 07-05-2005, 12:31 AM   #1
doublej
LQ Newbie
 
Registered: Jun 2005
Location: Melbourne, Australia
Posts: 18

Rep: Reputation: 0
Where does rpm end up?


I have twice now rpm'd (if that is a valid verb) a package only to have no idea where the program ended up.

One was wxftp and the other the card game, Spider. Each time the rpm seemed to proceed through with no errors but I am blowed if I know where the program lives.

Any help will be much appreciated.

John, Melbourne, Australia
 
Old 07-05-2005, 01:01 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Generally, binaries installed via RPM will go into /iusr (i.e. binaries in /usr/bin, libraries in /usr/lib, man pages in /usr/share/man). Confiuration files go into /etc in most cases.
 
Old 07-05-2005, 01:54 AM   #3
corbis_demon
Member
 
Registered: Jun 2004
Distribution: CLFS
Posts: 523

Rep: Reputation: 38
You could tear up the rpm to look where the files are intended to go. If you have GNOME, you could use file-roller to extract the rpm.
 
Old 07-05-2005, 02:37 AM   #4
paddyjoy
Member
 
Registered: Apr 2005
Location: Sydney
Distribution: FC5
Posts: 174

Rep: Reputation: 30
You could also use the -vv (very verbose) option when you are installing the package and it will list all the files and their locations as it installs them(I think).

Code:
rpm -Uvvh  package.rpm
Paddy

Last edited by paddyjoy; 07-05-2005 at 02:38 AM.
 
Old 07-05-2005, 04:45 AM   #5
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 66
also:
rpm -qa | grep -i wxftp
will tell you the exact name of the wxftp package, and
rpm -ql WxFTP-RealName
will list all files from this package.

Yves.
 
Old 07-05-2005, 05:35 AM   #6
doublej
LQ Newbie
 
Registered: Jun 2005
Location: Melbourne, Australia
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks for all your help - unfortunately I am still getting no further. Below is the output I get when I rpm wxftp ...

$ rpm -Uvvh wxftp-0.4.4-5.i386.rpm
D: ============== wxftp-0.4.4-5.i386.rpm
D: Expected size: 89388 = lead(96)+sigs(349)+pad(3)+data(88940)
D: Actual size: 89356
D: opening db index /var/lib/rpm/Packages rdonly mode=0x0
D: locked db index /var/lib/rpm/Packages
D: opening db index /var/lib/rpm/Pubkeys rdonly mode=0x0
warning: wxftp-0.4.4-5.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
D: opening db index /var/lib/rpm/Providename rdonly mode=0x0
D: read h# 556 Header sanity check: OK
D: added binary package [0]
D: found 0 source and 1 binary packages
D: ========== +++ wxftp-0.4.4-5 i386/Linux 0x0
D: opening db index /var/lib/rpm/Depends create mode=0x0
D: read h# 551 Header sanity check: OK
D: ========== DSA pubkey id b44269d04f2a6fd2
D: read h# 11 Header V3 DSA signature: OK, key ID 4f2a6fd2
D: Requires: ld-linux.so.2 YES (db provides)
D: read h# 99 Header V3 DSA signature: OK, key ID 4f2a6fd2
D: Requires: libX11.so.6 YES (db provides)
D: Requires: libXext.so.6 YES (db provides)
D: Requires: libc.so.6 YES (db provides)
D: Requires: libdl.so.2 YES (db provides)
D: read h# 523 Header V3 DSA signature: OK, key ID 4f2a6fd2
D: Requires: libgdk-1.2.so.0 YES (db provides)
D: read h# 131 Header V3 DSA signature: OK, key ID 4f2a6fd2
D: Requires: libglib-1.2.so.0 YES (db provides)
D: Requires: libgmodule-1.2.so.0 YES (db provides)
D: Requires: libgtk-1.2.so.0 YES (db provides)
D: Requires: libm.so.6 YES (db provides)
D: Requires: libc.so.6(GLIBC_2.0) YES (db provides)
D: Requires: libc.so.6(GLIBC_2.1) YES (db provides)
D: Requires: libm.so.6(GLIBC_2.1) YES (db provides)
D: opening db index /var/lib/rpm/Conflictname rdonly mode=0x0
D: closed db index /var/lib/rpm/Depends
D: ========== recording tsort relations
D: ========== tsorting packages (order, #predecessors, #succesors, tree, depth)
D: 0 0 0 0 0 +wxftp-0.4.4-5
D: installing binary packages
error: can't create transaction lock
D: closed db index /var/lib/rpm/Pubkeys
D: closed db index /var/lib/rpm/Conflictname
D: closed db index /var/lib/rpm/Providename
D: closed db index /var/lib/rpm/Packages

So where do I go now?

Regards

John
 
Old 07-05-2005, 10:21 AM   #7
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 66
You have to be root to install software system-wide. As "yourself" (logged in with your user), you can only install software under your home-directory, which no RPM will do (unless maybe it allows extreme relocation)

Yves.
 
  


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
This is the END... Kanaflloric Linux - Hardware 6 10-01-2004 02:43 PM
the end is near pepsi General 6 06-13-2004 12:46 AM
rpm -Uvh does not work with header & rpm files in /var/spool/up2date jd_no7 Linux - Software 1 05-17-2004 05:24 PM
rpm error only says"rpm: relocation error: rpm: undefined symbol: poptAliasOptions" dlrsims Linux - Newbie 2 11-14-2003 09:22 PM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 07:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:48 AM.

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