casblocks.blogg.se

Centos current version
Centos current version











centos current version centos current version centos current version

Second show it's version by: grep BOOST_LIB_VERSION /usr/include/boost/version.hpp In this guide, we have shown you how to find the version of CentOS installed on your system.įor more information on CentOS releases, visit the Wiki CentOS Releasesįeel free to leave a comment if you have any questions.As to me, you can first(find version.hpp the version variable is in it, if you know where it is(in ubuntu it usually in /usr/include/boost/version.hpp by default install)): locate `boost/version.hpp` This method will work only if you have CentOS 7: hostnamectl Static hostname: localhost.localdomain , but you can also use it to find your CentOS branch. Hostnamectl is a command that allows you to set the system hostname This method will only work if you have CentOS 7: cat /etc/os-release NAME="CentOS Linux"Ĭheck your CentOS version using the hostnamectl command # The /etc/os-release file is present on all systems running systemd and contains operating system identification data. To find your CentOS version enter the following command: cat /etc/centos-release CentOS Linux release (Core)Ĭheck your CentOS version using the /etc/os-release file # The centos-release package provides the /etc/centos-release file. To display information about the centos-release package, which includes the CentOS version in its name: rpm -query centos-release centos-release-7-5.1804.4.86_64Ĭheck CentOS version using the /etc/centos-release file # Rpm (Red Hat Package Manager) is a package management tool for Red Hat based systems such as RHEL, CentOS and Fedora. You can easily install it with: sudo yum install redhat-lsb-core Alternative methods to check CentOS version # Check CentOS version using the rpm command # , it means that the package redhat-lsb-core is not installed on your system.

centos current version

If you get a message saying bash: lsb_release: command not found.













Centos current version