clamav-users August 2009 archive
Main Archive Page > Month Archives  > clamav-users archives
clamav-users: Re: [Clamav-users] How to determine if you install

Re: [Clamav-users] How to determine if you installed from vendor package or source?

From: Tilman Schmidt <t.schmidt_at_nospam>
Date: Mon Aug 10 2009 - 13:49:30 GMT
To: ClamAV users ML <clamav-users@lists.clamav.net>


steven sprague schrieb:
> Is it safe to upgrade using a RPM file from a ClamAV recommended site?
> and install it on top of source install or the reverse?

I would avoid it. I've had troubles with that in the past. (Don't ask for details - it's been long ago, around version 0.88, and I didn't keep records.)

> How can I discover if my original install came from source or rpm?

Just ask RPM:

% rpm -qf /path/to/some/file

will tell you whether that file was installed by RPM and if so, which package it belongs to. For example:

[ts@gimli ~]$ rpm -qf /usr/local/bin/clamscan file /usr/local/bin/clamscan is not owned by any package [ts@gimli ~]$ rpm -qf /usr/sbin/sendmail sendmail-8.13.8-2.el5

shows that ClamAV was installed from source on that machine, while Sendmail came from the EL5 package.

HTH
T. -- Tilman Schmidt Phoenix Software GmbH Bonn, Germany

_______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml