Find out your distribution

From LQWiki
(Redirected from Find out your distro)
Jump to navigation Jump to search

This page lists methods to determine which distribution a system belongs to. It is a pity but every distribution has its own way to find out what distribution you are using. So you have to try all of the below methods till you find a positive match:

To find out what distribution of linux your running (Ex. Ubuntu) try:

lsb_release -a 

or

cat /etc/*release 

or

cat /etc/issue* 

or

cat /proc/version


Open a console and enter:

[ -e /etc/SuSE-release ] && echo This is a SuSE system.

Open a console and enter:

[ -e /etc/redhat-release ] && echo This is a redhat system.

Open a console and enter:

[ -e /etc/fedora-release ] && echo This is a fedora system.

Open a console and enter:

[ -e /etc/debian-version ] && echo This is a debian or ubuntu system.

Open a console and enter:

[ -e /etc/slackware-version ] && echo This is a slackware system.

Open a console and enter:

lsb_release -rd

Kernel version information

To find out your kernel version, use the command

uname -a

To find out additional info about the C compiler that built the kernel, use

cat /proc/version

References:

whatsmyos