Check Your Linux Flavor

Every Linux OS have its own flavor.

So how do you identify this flavor in your linux.  You don’t need to worry about this when your machine has been installed with Gnome or KDE.

How about for machine which is running the Linux environment in X.

Try running “gcc -v“. This command will help you to show the flavor used.

Example Output:

Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/specs
Configured with: ../gcc-3.3.4/configure –prefix=/usr –enable-shared –enable-threads=posix –enable-__cxa_atexit –disable-checking –with-gnu-ld –verbose –target=i486-slackware-linux –host=i486-slackware-linux
Thread model: posix
gcc version 3.3.4

Advertisements

One thought on “Check Your Linux Flavor

  1. Raja says:

    That’s a pretty interesting workaround.
    Good tip though.

    If your distro has LSB support, try this:-

    lsb_release -a

    [root@atom ~]# lsb_release -a
    LSB Version: :core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:desktop-3.1-ia32:desktop-3.1-noarch:desktop-3.2-ia32:desktop-3.2-noarch
    Distributor ID: Fedora
    Description: Fedora release 10 (Cambridge)
    Release: 10
    Codename: Cambridge

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s