Difference between revisions of "Find out your distribution"
From Linuxintro
imported>ThorstenStaerk |
(→Step 3) |
||
Line 21: | Line 21: | ||
cat: /etc/lsb-release.d: Is a directory | cat: /etc/lsb-release.d: Is a directory | ||
− | + | You're the one with the brains here. I'm wahnticg for your posts. | |
− | |||
− | |||
= Find out your kernel = | = Find out your kernel = |
Revision as of 05:45, 23 November 2015
Step 1
To find out your distribution, open a console and issue:
lsb_release -rd
As an example, here is the output of SUSE Linux 11.4:
tweedleburg:~ # lsb_release -rd Description: openSUSE 11.4 (x86_64) Release: 11.4
If this does not work for you you have a distribution that is not lsb-compatible. In this case you can still find out your distribution, but it gets heuristic. Follow Step 2.
Step 2
open a console and enter
cat /etc/*ele*
As an example, here is the output of SUSE Linux 11.1:
tweedleburg:~ # cat /etc/*ele* openSUSE 11.1 (x86_64) VERSION = 11.1 LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-2.0-x86_64:core-3.2-x86_64" cat: /etc/lsb-release.d: Is a directory
You're the one with the brains here. I'm wahnticg for your posts.
Find out your kernel
To find out your kernel, use
uname -a
Find out gcc that compiled your kernel
To find out the gcc that compiled the kernel, use
cat /proc/version
Example:
tweedleburg:~ # cat /proc/version Linux version 2.6.37.6-0.7-desktop (geeko@buildhost) (gcc version 4.5.1 20101208 [gcc-4_5-branch revision 167585] (SUSE Linux) ) #1 SMP PREEMPT 2011-07-21 02:17:24 +0200