On Thu, 14 Mar 2013 16:07:21 +0100 Theodore Papadopoulo Theodore.Papadopoulo@inria.fr wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I'm trying to find a standard way of finding the native packaging system of a linux distribution. I'm not sure at all that testing the presence of {rpm/yum}|{apt-get} is reliable as for example I can install apt-get of my fedora computer.
So the question is, is there a simple test that can reliably determine whether a linux machine is rpm or debian based for its native package scheme ?
Thank's in advance,
Theo.
Have you looked at the Distrowatch site? They do list the package management system for each distribution that they track, but I'm not certain if the D/W database recognizes package management as a searchable property.
-- cmg