How to determine kernel/Xorg version numbers?
I'm a Ubuntu newbie. In many documentation I read, I see things like "If you have kernel version > x", "When you have Xorg/XFree version < y".
But I have no idea how to determine those version numbers! Commands like "ver" or "version" are not recognized. Can someone please instruct me on how to determine these version numbers? |
For the kernel, "uname -r" will tell you. For Xorg check /var/log/Xorg.0.log since it's printed when X starts. Since Ubuntu is Debian based, the package manager is dpkg. You can do "sudo dpkg -l" to see all the packaged software you have installed and its version.
|
uname -a for the kernel
X -version for xorg |
'Xorg -version' for Xorg
'uname -a' fro the kernel :) |
Thanks for helping!!
|
Quote:
Code:
sudo Xorg -version 2>&1 | awk '/X.Org X Server/ {print $NF}' |
why did you post it here? (and even your solution is not correct, sudo must not be used)
|
When I run it without sudo, it says
Code:
$ Xorg -version |
All times are GMT -5. The time now is 04:50 AM. |