LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 04-24-2008, 03:37 PM   #1
justmehere
Member
 
Registered: Jul 2005
Distribution: Mandrake 6.1
Posts: 59

Rep: Reputation: 15
Installation Media and Using RPM


Does anyone know how to find out which package does a particular file belongs to ? The file is not installed on the computer and same for the package.

Is it possible to use the RPM manager to query the RPM packages on the installation CDROM/DVD to find out which one of the packages has this file ? If yes could someone give me the command on how to do this please ?

Thanks
 
Old 04-24-2008, 03:43 PM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Usually you use "yum provides whatever"
 
Old 04-24-2008, 09:19 PM   #3
justmehere
Member
 
Registered: Jul 2005
Distribution: Mandrake 6.1
Posts: 59

Original Poster
Rep: Reputation: 15
Thanks for the reply but would YUM work with RedHat ? I'll take a look to see if its part of the old RedHat version of Linux that I am using.
 
Old 04-24-2008, 09:26 PM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
RHEL 5 and later use yum. RHEL 4 can use yum and I suspect that earlier versions can too.
 
Old 04-25-2008, 10:49 AM   #5
justmehere
Member
 
Registered: Jul 2005
Distribution: Mandrake 6.1
Posts: 59

Original Poster
Rep: Reputation: 15
Lazlow unforunately the Yum utility is not part of the distribution that I am using. Thanks for the help though.
 
Old 04-25-2008, 11:27 AM   #6
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
What version are you running?
 
Old 04-25-2008, 12:22 PM   #7
justmehere
Member
 
Registered: Jul 2005
Distribution: Mandrake 6.1
Posts: 59

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by lazlow View Post
What version are you running?
Really old distribution Mandrake 6.1 I know that I need to work with a newer one but for now that is the one that I am able to work with. Thanks.
 
  


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
Hosed my rpm installation (i.e. "rpm -e rpm") Mad Scientist Fedora 6 03-02-2007 12:42 AM
need help with media centre pc installation howarddevore Ubuntu 4 01-16-2006 11:33 AM
Cannot read package data from installation media. Media error? </m0r1arty> SUSE / openSUSE 2 01-26-2005 07:57 PM
RPM Media Manger update problem ScottieToHottie Linux - Newbie 0 08-09-2004 05:48 AM
Installation media problem Rizla Linux - Software 0 01-13-2004 04:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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