To get some basic information about the installed Linux version you can use uname -a.
This will give you something like
Linux serv03.fritz.box 3.10.0-957.1.3.el7.x86_64 #1 SMP Thu Nov 29 14:49:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux |
Well, we get the kernel version and the architecture.
rpm -qia ‘release‘ gives much more information
Name : nodesource-release Version : el7 Release : 1 Architecture: noarch Install Date: Thu 29 Nov 2018 09:01:53 AM CET Group : System Environment/Base Size : 3191 License : MIT Signature : RSA/SHA256, Thu 04 Jan 2018 09:42:19 PM CET, Key ID 5ddbe8d434fa74dd Source RPM : nodesource-release-el7-1.src.rpm Build Date : Thu 04 Jan 2018 09:40:35 PM CET Build Host : luthien Relocations : (not relocatable) URL : http://rpm.nodesource.com/pub_8.x/ Summary : N|Solid repository configuration Description : This package contains the NodeSource NodeJS repository GPG key as well as configuration for yum. Name : redhat-release-server Version : 7.4 Release : 18.el7 Architecture: x86_64 Install Date: Tue 27 Nov 2018 01:50:07 PM CET Group : System Environment/Base Size : 43146 License : GPLv2 Signature : RSA/SHA256, Wed 28 Jun 2017 08:59:19 PM CEST, Key ID 199e2f91fd431d51 Source RPM : redhat-release-server-7.4-18.el7.src.rpm Build Date : Wed 28 Jun 2017 08:36:32 PM CEST Build Host : x86-037.build.eng.bos.redhat.com Relocations : (not relocatable) Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla> Vendor : Red Hat, Inc. Summary : Red Hat Enterprise Linux Server release file Description : Red Hat Enterprise Linux Server release files Name : epel-release Version : 7 Release : 11 Architecture: noarch Install Date: Wed 28 Nov 2018 07:54:48 AM CET Group : System Environment/Base Size : 24834 License : GPLv2 Signature : RSA/SHA256, Mon 02 Oct 2017 07:52:02 PM CEST, Key ID 6a2faea2352c64e5 Source RPM : epel-release-7-11.src.rpm Build Date : Mon 02 Oct 2017 07:45:58 PM CEST Build Host : buildvm-ppc64le-05.ppc.fedoraproject.org Relocations : (not relocatable) Packager : Fedora Project Vendor : Fedora Project URL : http://download.fedoraproject.org/pub/epel Summary : Extra Packages for Enterprise Linux repository configuration Description : This package contains the Extra Packages for Enterprise Linux (EPEL) repository GPG key as well as configuration for yum. |