Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Well i guess its just a simple question
Whenever i install an RPM package, how do i know that where this package installed the file. I know that there would be a command for it.
Like i just installed an rpm package for the motorola modem. Now the documentation tells me to run sm56setup, but i cant locate this file. Isnt there a command so that i know that this package installed this file in this directory,
The old GUI package managers, specific'ly kpackage, would list out a tree of packages in one pane, and all the files it provides in the next. It would list them by directory. I haven't looked at the package manager in RH 8 too much.
You could always run an RPM query...
rpm -ql package_name
That will list all the files installed by package_name. You could also pipe it into a grep if you are looking for a specific file...
rpm -ql package_name | grep text
That will search the listed of files installed by package_name and return only the listings that contain the specified text string.
Distribution: Red Hat (8.0, RHEL5,6), CentOS, SuSE (10.x, 11.x, 12.2, 13.2), Solaris (8-10), Tru64, MacOS, Raspian
Originally posted by ranger_nemo The old GUI package managers, specific'ly kpackage, would list out a tree of packages in one pane, and all the files it provides in the next. It would list them by directory. I haven't looked at the package manager in RH 8 too much.
IMHO, the GUI interface to rpm in RH8 sucks like a tornado. I've been wondering if I could get the gnorpm sources from my 7.x CDs to compile for RH8. Anything would be an improvement. On the other hand, I have gotten more comfortable with rpm's command line interface.
Check out the RH Customization Guide. If memory serves, it's on the Documentation CD. There's a section (Section V) on neat things you can do with rpm. Your question is actually answered in that section.