Finding your Debian and Ubuntu install version
To find your Debian and Ubuntu install version:Show Plain Text
- Debian, type "cat /etc/debian_version"
- Ubuntu, type "cat /etc/issue"
- RedHat, type "cat /etc/redhat-release"
To find the Kernel version:Show Plain Text
- type, "uname -a" (prints all kernel information)
- type, "uname -r" (prints your kernel release)
The "uname -r" command can be useful for installing things like the kernel headers, for example :-Show Plain Text
- apt-get install linux-headers-$(uname -r)
To find what software package version's have been installed:Show Plain Text
- type, "dpkg -l | grep <package_name>"
For example to find what glib version you have installed:Show Plain Text
- type, "dpkg -l | grep libc6"