LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 02: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, 02:29 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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, 08: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, 08:54 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you are using the FILE name, not the PACKAGE name... use blah instead of blah-1.2.i686.rpm etc...
 
Old 06-01-2003, 01: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, 01:16 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

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

The q specifies it as a query.
 
Old 06-01-2003, 05: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:36 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