Determining linux distribution

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Mon Apr 18 15:46:25 UTC 2005


On Mon, Apr 18, 2005 at 11:29:11AM -0400, David J Patrick wrote:
> OK, so it's LSB compliant, now where's the flag ? (or am I missing your
> point ?)

I don't know if ther eis a way to check if a system is LSB compliant.  I
always assumed that a user would know if their system was advertised as
LSB compliant and based on that should know if they can install software
that requires LSB compliance (does any actually exist?).

Now looking into the LSB support on debian, apparently there is an
lsb_release command to identify the type of LSB system you are on.

On Debian Sarge (3.1/testing) runing lsb_release with some of the
lsb-core and such installed returns this:

Without any of the support packages installed lsb_release shows:
LSB Version:    n/a

Hmm, well lsb_release -a shows:
LSB Version:    n/a
Distributor ID: Debian
Description:    Debian GNU/Linux
Release:        3.1
Codename:       sarge

It seems Debian has lsb support, but don't claim to be fully compliant
with any LSB version, so the field is n/a.

Lennart Sorensen
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list