Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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)
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.
[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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.