LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-01-2003, 03:13 AM   #1
dynamo|x
LQ Newbie
 
Registered: May 2003
Location: Atlanta
Distribution: Red Hat 9
Posts: 16

Rep: Reputation: 0
rpm install location ...how to tell ?


Hello guys. I have a newbish question. When i am about to install an rpm...how can i tell where and what will be installed. Basically how you can see default install location in windows, i want to see that in an rpm file. Ive tried doing: rpm -l dell.rpm ...that did not work. I am using RH9.

Thank you
 
Old 06-01-2003, 03:29 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Normally you wouldn't care about such info, normally the application/files will be installed into the necessary places and, if there is an executable, it will normally be placed in your path. However, for curiosities sake, or just for a custom setup, you can use:
rpm -l (list files)
rpm -l --dump (to dump the files for examination).
rpm --test (test for conflicts)

HTH

Cool
 
Old 06-01-2003, 09:31 AM   #3
dynamo|x
LQ Newbie
 
Registered: May 2003
Location: Atlanta
Distribution: Red Hat 9
Posts: 16

Original Poster
Rep: Reputation: 0
i appreciate your help. I must be doing something wrong. When i type: rpm -l dell.rpm ....i get info on usage etc etc. My syntax must be wrong. Would you give me an example.

Thank you
 
Old 06-01-2003, 09:54 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
you are using the FILE name, not the PACKAGE name... use blah instead of blah-1.2.i686.rpm etc...
 
Old 06-01-2003, 02:09 PM   #5
dynamo|x
LQ Newbie
 
Registered: May 2003
Location: Atlanta
Distribution: Red Hat 9
Posts: 16

Original Poster
Rep: Reputation: 0
Hmm..i tried that as well...still getting this:

[root@linuxrh9 dell]# rpm -l dell-2-2
RPM version 4.2
Copyright (C) 1998-2002 - Red Hat, Inc.
This program may be freely redistributed under the terms of the GNU GPL

Usage: rpm [-a|--all] [-f|--file] [-g|--group] [-p|--package] [--specfile]
[--whatrequires] [--whatprovides] [-c|--configfiles] [-d|--docfiles]
[--dump] [-l|--list] [--queryformat=QUERYFORMAT] [-s|--state]
..............................................
and more one usage. I got the rpm name by try installing it again..that's when it told me that dell-2-2 was already installed. very strange

Thanks
 
Old 06-01-2003, 02:16 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Try:
rpm -ql dell-2-2

The q specifies it as a query.
 
Old 06-01-2003, 06:13 PM   #7
dynamo|x
LQ Newbie
 
Registered: May 2003
Location: Atlanta
Distribution: Red Hat 9
Posts: 16

Original Poster
Rep: Reputation: 0
Alright. that was it ...thank you very much
 
  


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
Location of rpm repositories Hockeyfan SUSE / openSUSE 3 11-23-2005 11:26 AM
install location of sh bindweb Linux - Newbie 7 09-29-2004 08:07 AM
Location of install directorys (using rpm). brynjarh Linux - Newbie 2 06-16-2004 07:19 AM
Firefox install location urban Linux - Software 3 03-01-2004 09:16 PM
Apache Development RPM location? dwatkinsusa Linux - Software 7 10-11-2003 06:03 AM


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