LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-04-2005, 07:46 PM   #1
JBull
Member
 
Registered: Jul 2005
Location: Dallas, TX, USA
Distribution: Debian Etch
Posts: 37

Rep: Reputation: 15
Where does RPM intall the executable?


I'm running Redhat 8.0 (3 days now) and I am having trouble with installations. Here are some questions/problems:

1. Where should I install apps? I'm putting my rpm's and installers into /usr/src , then rpm them. Firefox had an installer and it installed in /usr/src/firefox-installer/ Is that a good place for it?

2. After installing some apps (for example winamp for linux) from an rpm, I have no idea where the executable was put. There is no icon on the desktop and I can't create one without knowing the location and name of the executable. (I was able to creat one for Firefox)

There seems to be a problem with the Winamp. After RPM was done, I tried RPM -q Winamp-1.0.4-alpha.rpm (or whatever the name was) and it said RPM not installed. So I tried RPM -vi Winamp-1.0.4-alpha.rpm and it said "already installed".

When the file is an RPM and there are no readme.txt or whatever, how do you know?
I had the same problem with xmms media player. RPM'ed it and it worked, but no output about where the heck the executable is. I correctly guessed xmms and it worked, but that was sheer luck. But I have no idea where that program resides. Is there a way to find where the files go and if I have the choice (as in tar.gz installs) where should I put them?

Thanks
 
Old 07-04-2005, 08:16 PM   #2
JBull
Member
 
Registered: Jul 2005
Location: Dallas, TX, USA
Distribution: Debian Etch
Posts: 37

Original Poster
Rep: Reputation: 15
Ok, I found Winamp in usr/local/bin. However when I try to run it just flashes and crashes. Oh, well it was just a test version. But I still wonder how to more easily find the location of installations - especially the executable file.
 
Old 07-04-2005, 08:22 PM   #3
Vgui
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware
Posts: 496

Rep: Reputation: 31
Hi there, in semi-response to your question #2. If you know what the program is called / the command to execute it, you can find which one is being called when you try to execute it. For example, if you installed the "Winamp for Linux", called xmms, you would go:

Code:
which xmms
That would give you a directory where your xmms executable is running from.
Also, when querying RPMs, I don't think you use the .rpm extension, I could be wrong, but that might be why it said "not installed".
Hope that helps a bit.
 
Old 07-05-2005, 02:08 AM   #4
tda
Member
 
Registered: Mar 2002
Location: Ukraine, Kiev
Distribution: Mandrake 7.2
Posts: 37

Rep: Reputation: 15
Hello JBull.
You can use following useful commands to work with RPMs.
a. Get info about package:
rpm -qip XXX.rpm
b. Get list of files in package (with pathes where they will be installed)
rpm -qlp XXX.rpm

Useful info about RPMs and how to work with one you can find out for example in http://www.ibiblio.org/pub/Linux/doc...RPM-HOWTO.html


Dmitry.
 
Old 07-06-2005, 10:42 PM   #5
JBull
Member
 
Registered: Jul 2005
Location: Dallas, TX, USA
Distribution: Debian Etch
Posts: 37

Original Poster
Rep: Reputation: 15
Thanks dude

that helps a lot...

My primary concern is creating a luanch icon on the desktop for new programs. Your help is appreciated.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Running a Java executable class from another executable class LUB997 Programming 22 07-24-2005 04:57 AM
Create .rpm for executable file from Kylix 3 swg079 Linux - Newbie 4 10-16-2004 07:00 AM
intall non-rpm video driver enlazador Linux - Newbie 1 05-16-2002 09:06 PM
How do I intall a .rpm after I download it? vofkid Linux - Newbie 3 03-15-2002 12:20 PM
RPM Software Intall....failed dependencies?? bison42 Linux - Software 3 09-01-2001 11:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:39 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
Open Source Consulting | Domain Registration