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 |
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 |
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 |
you are using the FILE name, not the PACKAGE name... use blah instead of blah-1.2.i686.rpm etc...
|
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 |
Try:
rpm -ql dell-2-2 The q specifies it as a query. |
Alright. that was it ...thank you very much
|
All times are GMT -5. The time now is 06:43 PM. |