[Lazarus] RE : Determining OS

Graeme Geldenhuys graemeg.lists at gmail.com
Sun Jul 31 19:37:59 CEST 2011


2011/7/31 Ludo Brands <ludo.brands at free.fr>:
> Have you tried uname?

That only gives you the kernel version.


> lsb_release on ubuntu 10 64 bit says: no LSB modules are available. On
> debian lenny for arm: command not found...

Don't you guys READ!!!  I specifically showed the parameters you need
to specify with the 'lsb_release' command so you DO GET THE RIGHT
OUTPUT.

Try this:

   $ lsb_release -a


Or from my original post...

> --------------------------------------------------------------------------
> $ lsb_release --help
> Usage: lsb_release [options]
>
> Options:
>  -h, --help         show this help message and exit
>  -v, --version      show LSB modules this system supports
>  -i, --id           show distributor ID
>  -d, --description  show description of this distribution
>  -r, --release      show release number of this distribution
>  -c, --codename     show code name of this distribution
>  -a, --all          show all of the above information
>  -s, --short        show all of the above information in short format
>


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://fpgui.sourceforge.net




More information about the Lazarus mailing list