LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 03-21-2003, 11:12 AM   #1
fadain
LQ Newbie
 
Registered: Mar 2003
Location: Pakistan
Distribution: Redhat
Posts: 6

Rep: Reputation: 0
Question RPM PRobleM


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,
Fadain.
 
Old 03-21-2003, 12:59 PM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
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.
 
Old 03-22-2003, 03:19 AM   #3
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (Chicago area)
Distribution: Red Hat (8.0, RHEL5,6), CentOS, SuSE (10.x, 11.x, 12.2, 13.2), Solaris (8-10), Tru64, MacOS, Raspian
Posts: 1,108

Rep: Reputation: 64
Quote:
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.

Fadain,

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.
 
Old 03-22-2003, 09:31 AM   #4
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
Well, I took a look... KDE 3.1 (from KDDE-RedHat at SourceForge) has kpackage. I didn't look when I had KDE 3.0 or 3.0.5, so I can't say for them.
 
  


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
rpm problem juanb Linux - Newbie 2 01-26-2004 09:48 PM
RPM Problem chrisknight Linux - Software 4 07-07-2003 03:30 PM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 08:19 AM
rpm problem katana *BSD 2 08-07-2002 07:17 AM
RPM Problem PeterC1 Linux - Newbie 0 09-13-2001 07:40 AM


All times are GMT -5. The time now is 12:31 PM.

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