![]() It was initially released as version 12.0 on June 10th, 2023 and its latest update, version 12.1, was released on July 22nd, 2023. The current stable distribution of Debian is version 12, codenamed bookworm. a version using From Neighbor Lists (multicast version) and another one. This is the production release of Debian, the one which we primarily recommend using. In the larger picture, what is in /proc/version is the version string of the (running) kernel, in particular here the version string of the Debian kernel package containing the kernel, not of the operating system. Testbed hardware MS1 Pentium III-MMX 550 MHz - 128 MB RAM - Debian GNU/Linux 3.1. Method 2: In this method, we will use the lsbrelease -a command in order to check the release version, description, and operating system codename. IFS'.' read VERSION VERSIONMINOR < /etc/debianversion. ), assigns everything before the period to VERSION and discards everything after. This reads /etc/debianversion, splits the input on the period (. Update the package lists: sudo apt-get update Install the latest version of PostgreSQL. Here's a solution which uses bash, no external utilities, and is a single call. This is the Linux kernel package in Debian with Linux version 3.16.43 and Debian version 2+deb8u2. PostgreSQL is available in all Debian versions by default. ![]() The suffix does indicate Debian 8, but the update number is the update number for the Debian package version, and is not the minor version number of the Debian operating system. You'll find this deb Nu M scheme used a lot in Debian package versions. The origin version here is 3.16.43, and the suffix is 2+deb8u2, known as the Debian version of the package. This string follows the convention of suffixing a local version string to the origin version string. The actual version string, as you can see in that output, is 3.16.43-2+deb8u2. (See CentOS bug #9448 and bug 8359.) Arch does not include a version string at all.Īs for deb8u2, that is not a complete version string either. You can obtain the minor number in the Debian-specific way that is still the only mechanism mentioned in its FAQ document, which makes no mention of /etc/os-release at all: Use lsb_release or read the Debian-specific /etc/debian_version file, which does include the minor version number, again demonstrating that the minor number is considered part of the version.ĭebian is not the only operating system which does not include the minor version number in the version string in /etc/os-release. The line labeled Description contains the information you’re interested in. To check your Debian version, use the -a option with this command: No LSB modules are available. Yet that self-same announcement used "8.5" as the string in its headline. The lsbrelease command provides certain LSB (Linux Standard Base) and distribution-specific information. Its latest update 11.5 has been released on September 10, 2022. The only explanation that anyone has ever come up with for this is the rather weak one - admittedly proferred by a person known only by a pseudonym on a discussion forum and hardly in any way official - that the Release Announcement for 8.5 said "this update does not constitute a new version of Debian 8". The latest version of Debian is Debian 11, codenamed bullseye. Which command did you found useful? do share with us in the comments.Debian does not include the minor version number in /etc/os-release, despite the clear indication in the manual that minor versions are allowed, and despite the inclusion of minor version numbers there by other Linux distributions. That’s all! In this article, we have explained several ways to check which Debian version you are running on the system. Hostnamectl – Print Debian Version and Kernel Version The hostnamectl command is used to set or change system hostname and related settings, but you can use this command to check the Debian version along with the kernel version. is a website that publishes articles related to. etc/os-release – Print Debian Version Checking Debian Version using hostnamectl Command ![]() The /etc/os-release is a new configuration file introduced in systemd, which contains system identification data, and only available in newer Debian distributions. The above command only shows the Debian version number, if you want to know the current Debian update point releases, use the following command, it will also work on the older version of Debian releases.Ĭhecking Debian Version using the /etc/os-release File The /etc/issue is a text file that holds a message or system identification information, you can use the cat command to print the contents of this file. Checking Debian Version using the /etc/issue File That’s not the only way, there are several other ways to find out the installed Debian version as explained below. From the output above, I am using Debian GNU/Linux 10 (buster) as shown in the Description line. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |