How do I determine the Operating System version and the version of libc, glibc, or XFree86 that I have running on my Linux machine?
4 views (last 30 days)
Show older comments
I would like to determine the Operating System version and the version of libc, glibc, or XFree86 that I have running on my Linux machine.
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
You can find out the Operating System version you have on your Linux machine by executing the following command:
cat /proc/version
The following command should tell you the version of glibc that you have running on your system:
rpm -q glibc
For example, if the version number is 2.3.4, this command will output a version number similar to the following:
glibc-2.3.4-23.4
You can also run the following command to determine your glibc version.
/lib/libc.so.6
When run as a program, this command will produce several lines of output. The version number is in the first line, and will look like the following: "2.1.2", "2.1.3", or "2.2.3" etc.
Also, to get the version of XFree86 running, you can execute the following command when sitting directly at the machine:
xdpyinfo | grep vendor
0 Comments
More Answers (0)
See Also
Categories
Find more on Clusters and Clouds in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!