Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
How to query the package owning the file? (no package manger installed)

How to query the package owning the file? (no package manger installed)

2005-07-15       - By Ed Wilts

 Back
Reply:     1     2     3     4     5     6     7     8     9  

On Fri, Jul 15, 2005 at 05:39:57PM +0530, Truejack wrote:
> I had this question asked in a technical interview.
>  
> How do I find out the package owning a particular file, when no
> package managers are installed?

I believe you may have misinterpreted the question.  If you have a Red
Hat Linux system, you may still install over software that is not rpm
based.
 
> I am assuimg SRPMs are used to install the software?

No - you'd install from a tarball.

> Is this actually possible? Install the Linux OS without a package manager?

Not the OS - at least not Red Hat Linux.  You can certainly install 3rd
party applications though.
 
> I know "rpm -qf filename" gives the package owning the file.
> But how to get the package name when I don't have any package manager?
>  
> Maybe this was a question to rattle me?

It's a serious question.  If you have /usr/local/bin/foo, and foo does
not belong to any rpm you installed, how did it get there and how do you
know if there's a new version?

I won't attempt to answer the question on this list since there a lot of
possibilities...

--
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:ewilts@(protected)
Member #1, Red Hat Community Ambassador Program

--
Taroon-list mailing list
Taroon-list@(protected)
http://www.redhat.com/mailman/listinfo/taroon-list

Earn $52 per hosting referral at Lunarpages.