MATLAB: How to determine the Operating System version and the version of libc, glibc, or XFree86 that I have running on the Linux machine

distributionglibcinformationkernellibclinuxMATLABprofilereleaseversion

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.

Best Answer

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