- The Linux Kernel Archives
- Is Linux Kernel Free Software?
- What does «stable/EOL» and «longterm» mean?
- Why is an LTS kernel marked as «stable» on the front page?
- Linus has tagged a new release, but it’s not listed on the front page!
- Is there an RSS feed for the latest kernel version?
- Why are there files that are dated tomorrow?
- Can I get an account on kernel.org?
- I have cool project X, can you guys mirror it for me?
- How does kernel.org provide its users access to the git trees?
- How do I create an -rc kernel? I get «Reversed patch detected!»
- Where can I find kernel 2.4.20-3.16?
- I need help building/patching/fixing Linux kernel/modules/drivers!
- What happened to ftp.kernel.org?
- When will the next kernel be released?
- What will go into the next release?
- Other resources
- Social
- The Linux Kernel Archives
- What is Linux?
- New to Linux?
- Mailing lists
- Other resources
- Social
- Find Linux / UNIX Kernel Version Command
- uname command to display the Linux or Unix kernel version
- Outputs from my OS X Unix desktop
- Outputs from OpenBSD Unix server
- Common uname options
- How to find the kernel version with /proc/version file ( Linux only command )
- Related media
- Package management tools ( Linux only command )
- Conclusion
The Linux Kernel Archives
If you have questions, comments or concerns about the F.A.Q. please contact us at webmaster@kernel.org.
Is Linux Kernel Free Software?
Linux kernel is released under GNU GPL version 2 and is therefore Free Software as defined by the Free Software Foundation. You may read the entire copy of the license in the COPYING file distributed with each release of the Linux kernel.
What does «stable/EOL» and «longterm» mean?
As kernels move from the «mainline» into the «stable» category, two things can happen:
- They can reach «End of Life» after a few bugfix revisions, which means that kernel maintainers will release no more bugfixes for this kernel version, or
- They can be put into «longterm» maintenance, which means that maintainers will provide bugfixes for this kernel revision for a much longer period of time.
If the kernel version you are using is marked «EOL,» you should consider upgrading to the next major version as there will be no more bugfixes provided for the kernel version you are using.
Please check the Releases page for more info.
Why is an LTS kernel marked as «stable» on the front page?
Long-term support («LTS») kernels announced on the Releases page will be marked as «stable» on the front page if there are no other current stable kernel releases. This is done to avoid breaking automated parsers monitoring kernel.org with an expectation that there will always be a kernel release marked as «stable.»
Linus has tagged a new release, but it’s not listed on the front page!
Linus Torvalds PGP-signs git repository tags for all new mainline kernel releases, however a separate set of PGP signatures needs to be generated by the stable release team in order to create downloadable tarballs. Due to timezone differences between Linus and the members of the stable team, there is usually a delay of several hours between when the new mainline release is tagged and when PGP-signed tarballs become available. The front page is updated once that process is completed.
Is there an RSS feed for the latest kernel version?
We also publish a .json file with the latest release information, which you can pull from here: https://www.kernel.org/releases.json.
Why are there files that are dated tomorrow?
All timestamps on kernel.org are in UTC (Coordinated Universal Time). If you live in the western hemisphere your local time lags behind UTC. Under Linux/Unix, type date -u to get the current time in UTC.
Can I get an account on kernel.org?
Kernel.org accounts are usually reserved for subsystem maintainers or high-profile developers. It is absolutely not necessary to have an account on kernel.org to contribute to the development of the Linux kernel, unless you submit pull requests directly to Linus.
If you are listed in the MAINTAINERS file or have reasons to believe you should have an account on kernel.org because of the amount of your contributions, please refer to the accounts wiki page for the procedure to follow.
I have cool project X, can you guys mirror it for me?
Probably not. Kernel.org deals with the Linux kernel, various distributions of the kernel and larger repositories of packages. We do not mirror individual projects, software, etc as we feel there are better places providing mirrors for those kinds of repositories. If you feel that kernel.org should mirror your project, please contact ftpadmin@kernel.org with the following information:
- name
- project name
- project website
- detailed project description
- reason for wanting us to mirror
The Kernel.org admin team will then review your request and talk to you about it. As with any kind of account on kernel.org it’s up to the discretion of the admin team.
How does kernel.org provide its users access to the git trees?
We are using an access control system called gitolite, originally written and maintained by Sitaram Chamarty. We chose gitolite for a number of reasons:
- Limiting of ssh access to the system
- Fine grained control over repository access
- Well maintained and supported code base
- Responsive development
- Broad and diverse install base
As well at the time of deployment the code had undergone an external code review.
How do I create an -rc kernel? I get «Reversed patch detected!»
-rc kernel patches are generated from the base stable release.
For example: to create the 2.6.14-rc5 kernel, you must:
- download 2.6.13 (not 2.6.13.4)
- and then apply the 2.6.14-rc5 patch.
Yes, you want 2.6.13, not 2.6.14. Remember, that’s an -rc kernel, as in, 2.6.14 doesn’t exist yet. 🙂
Where can I find kernel 2.4.20-3.16?
Kernel version numbers of this form are distribution kernels, meaning they are modified kernels produced by distributions. Please contact the relevant distributor; or check out https://mirrors.kernel.org/.
See the Releases page for more info on distribution kernels.
I need help building/patching/fixing Linux kernel/modules/drivers!
Please see the Kernel Newbies website.
There is also a wealth of knowledge on many topics involving Linux at The Linux Documentation Project (http://www.tldp.org)
For finding or reporting bugs, look through the archives for the various Linux mailing lists, and if no specific list seems appropriate, try the browsing the Linux Kernel Mailing List.
What happened to ftp.kernel.org?
FTP service was terminated on March 1, 2017. All content that used to be available via ftp.kernel.org can be accessed by browsing https://www.kernel.org/pub/. If you would like to use a command-line tool for accessing these files, you can do so with lftp:
When will the next kernel be released?
The next kernel will be released when it is ready. There is no strict timeline for making releases, but if you really need an educated guess, visit the Linux kernel PHB Crystal Ball — it tries to provide a ballpark guess based on previous kernel release schedule.
What will go into the next release?
It is hard to predict with certainty, but you can either take a peek at linux-next or read the Linux Weather Forecast, where Jonathan Corbet provides a broad forecast of what will likely be included into the next mainline release.
Other resources
Social
This site is operated by the Linux Kernel Organization, Inc., a 501(c)3 nonprofit corporation, with support from the following sponsors.
Источник
The Linux Kernel Archives
What is Linux?
Linux is a clone of the operating system Unix, written from scratch by Linus Torvalds with assistance from a loosely-knit team of hackers across the Net. It aims towards POSIX and Single UNIX Specification compliance.
It has all the features you would expect in a modern fully-fledged Unix, including true multitasking, virtual memory, shared libraries, demand loading, shared copy-on-write executables, proper memory management, and multistack networking including IPv4 and IPv6.
Although originally developed first for 32-bit x86-based PCs (386 or higher), today Linux also runs on a multitude of other processor architectures, in both 32- and 64-bit variants.
New to Linux?
If you’re new to Linux, you don’t want to download the kernel, which is just a component in a working Linux system. Instead, you want what is called a distribution of Linux, which is a complete Linux system. There are numerous distributions available for download on the Internet as well as for purchase from various vendors; some are general-purpose, and some are optimized for specific uses. We currently have mirrors of several distributions available at https://mirrors.kernel.org/.
Note, however, that most distributions are very large (several gigabytes), so unless you have a fast Internet link you may want to save yourself some hassle and purchase a CD-ROM with a distribution; such CD-ROMs are available from a number of vendors.
Mailing lists
The Linux kernel is discussed on the linux-kernel mailing list at vger.kernel.org. Please read the FAQ before subscribing.
Although there is no official archive site, unofficial archives of the list can be found at:
Other resources
Social
This site is operated by the Linux Kernel Organization, Inc., a 501(c)3 nonprofit corporation, with support from the following sponsors.
Источник
Find Linux / UNIX Kernel Version Command
H ow do I find out what kernel version I am currently running under Debian Linux or any other Linux distribution using a shell prompt? How do I find out Unix kernel version? How can I find out my Linux / UNIX kernel version using the ssh command?
Tutorial details | |
---|---|
Difficulty level | Easy |
Root privileges | Yes |
Requirements | Linux or Unix |
Est. reading time | 3 mintues |
- Linux Kernel version and name.
- Print the Unix machine hardware name.
- Find out about server processor type.
- Display the operating system and more.
uname command to display the Linux or Unix kernel version
This command works under all Linux distributions and other UNIX-like operating systems such as FreeBSD, OpenBSD, Solaris, HP UX, OS X and friends. Type the following command to see running kernel version:
$ uname -r
Output taken from Linux based system:
- 2 : Kernel version
- 6 : The major revision of the kernel
- 22 : The minor revision of the kernel
- 14 : Immediate fixing / bug fixing for critical error
- generic : Distribution specific sting. For example, Redhat appends string such as EL5 to indicate RHEL 5 kernel.
Another common usage is as follows:
$ uname -mrsn
Output taken from Linux:
Here is another output from RHEL 8:
My RHEL 8 kernel version
Outputs from my OS X Unix desktop
Outputs from OpenBSD Unix server
For example, at the prompt, I type the following on AIX unix to print OS name:
uname
Sample outputs:
Common uname options
Option | Description |
---|---|
-a | Behave as though the options -m, -n, -r, -s, and -v were specified. |
-i | Write the kernel ident to standard output. |
-K | Write the FreeBSD version of the kernel. |
-m | Displays the machine ID number of the hardware running the system. |
-n | Write the name of the system/node to standard output. |
-o | This is a synonym for the -s option, for compatibility with other systems. |
-p | Displays the architecture of the system processor. |
-r | Displays the release number of the operating system. |
-s | Write the name of the operating system implementation to standard output. |
-v | Write the version level of this release of the operating system to standard output. |
How to find the kernel version with /proc/version file ( Linux only command )
You can also obtain kernel version from /proc/version file by using cat command as follows:
$ less /proc/version
$ more /proc/version
$ cat /proc/version
Sample outputs:
- No ads and tracking
- In-depth guides for developers and sysadmins at Opensourceflare✨
- Join my Patreon to support independent content creators and start reading latest guides:
- How to set up Redis sentinel cluster on Ubuntu or Debian Linux
- How To Set Up SSH Keys With YubiKey as two-factor authentication (U2F/FIDO2)
- How to set up Mariadb Galera cluster on Ubuntu or Debian Linux
- A podman tutorial for beginners – part I (run Linux containers without Docker and in daemonless mode)
- How to protect Linux against rogue USB devices using USBGuard
Join Patreon ➔
Related media
See how to use uname and other commands to find the kernel version on Linux or Unix-like oses:
Package management tools ( Linux only command )
You can list all installed kernel and its version with the following command under RHEL / CentOS / Suse / Fedora Linux :
$ rpm -q kernel
Output:
If you are using Debian / Ubuntu , try:
$ dpkg —list | grep linux-image
Output:
Conclusion
We have shown you how to find the version of the Unix and Linux kernel running on your server/desktop/laptop/workstion from the command line. See uname man page here and here for more info.
🐧 Get the latest tutorials on Linux, Open Source & DevOps via
Category | List of Unix and Linux commands |
---|---|
Documentation | help • mandb • man • pinfo |
Disk space analyzers | df • duf • ncdu • pydf |
File Management | cat • cp • less • mkdir • more • tree |
Firewall | Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04 |
Linux Desktop Apps | Skype • Spotify • VLC 3 |
Modern utilities | bat • exa |
Network Utilities | NetHogs • dig • host • ip • nmap |
OpenVPN | CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04 |
Package Manager | apk • apt |
Processes Management | bg • chroot • cron • disown • fg • glances • gtop • jobs • killall • kill • pidof • pstree • pwdx • time • vtop |
Searching | ag • grep • whereis • which |
Shell builtins | compgen • echo • printf |
Text processing | cut • rev |
User Information | groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w |
WireGuard VPN | Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04 |
Comments on this entry are closed.
In Solaris uname -r will give you the solaris release level.
some other usefull options with uname are
uname -s [Operating system]
SunOS
uname -r [Release version]
5.8
uname -v
Generic_117350-27[OS version]
uname -a
SunOS hostname 5.8 Generic_117350-27 sun4u sparc
the last two words describes h/w name and processor respctl[equivalent to -m and -p),
I log on to different RedHat based servers, Can you please update on how to differentiate between Centos, RedHat, Oracle Linux (i.e. RedHat based distributions) sitting remotely.
# uname -a (doesn’t help)
# cat /etc/redhat-relaese (its changed to RedHat as some softwares don’t get installed otherwise.
Quite useful for beginners and mediocre persons.
i need linux fonts
cat /etc/redhat-release
this will give you redh hat version or centos version
this command return the Centos version
Newbie here….kind of got thrown in Linux admin for Centos at work due to staff reduction. Confused about something (well lots of things, but can’t seem to find the answer to this particular question).
]# rpm -qa kernel
kernel-2.6.9-89.0.15.EL
kernel-2.6.9-89.0.19.EL
kernel-2.6.9-89.0.28.EL
kernel-2.6.9-89.0.29.EL
kernel-2.6.9-78.0.22.EL
kernel-2.6.9-89.0.11.EL
kernel-2.6.9-89.0.16.EL
kernel-2.6.9-89.0.23.EL
kernel-2.6.9-89.0.25.EL
kernel-2.6.9-89.29.1.EL
kernel-2.6.9-78.0.5.EL
kernel-2.6.9-78.0.8.EL
kernel-2.6.9-78.0.13.EL
kernel-2.6.9-89.0.18.EL
]# uname -a
Linux xxx 2.6.9-78.0.22.EL #1 Thu Apr 30 19:03:25 EDT 2009 i686 athlon i386 GNU/Linux
Why does rpm -qa show kernel-2.6.9-89.0.xxxxx installed but uname -a shows 2.6.9-78.00.22.EL?
I know this probably really stupid question – sorry 🙁
Send me all shell and kernel cammond of linux or unix
Life is so easy huh? 🙂
Send me all the words in the english language and their uses ( I dont claim that this line is original 😉 )
hahaha…lol…AMukh…ur reply is perfect….life is not that easy
Thank you very much all friend
Utility uname don’t have any info about OS version, only OS platform. uname -p gives
GNU/Linux… No info there are in environment variables. But I need the info like that
openSUSE 12.1 (x86_64)… How to solve this problem? I don’t want to set some environment variable manually…
can you install linux on a computer that has another operating system already installed
Yes, this is possible.
use any VM to install multiple os on same machine
I have installed “Linux mint” I want to know the complete info of my Linux version installed like Linux version kernel version
Thank U Very Much senior and all
xcuse me bro..
i wanna install fedora on VMWARE for running shell and c programming but my vmware is not listing out fedora OS .. what i should do …
It listing out “Linux Kernel 2.6.10” Is it similar to fedora ? Can i run shell scripts and c programz .
how to get the OS manufacturer,OS version,OS serial number and number of registered users on linux machine
sudo cat /etc/passwd | grep /bin/bash
UID’s 1000 and above are valid users plus UID 0 for root
dpkg –list | grep linux-image
ii linux-image-2.6.38-11-generic 2.6.38-11.50 Linux kernel image for version 2.6.38 on x86/x86_64
rc linux-image-2.6.38-8-generic 2.6.38-8.42 Linux kernel image for version 2.6.38 on x86/x86_64
ii linux-image-3.0.0-12-generic 3.0.0-12.20 Linux kernel image for version 3.0.0 on x86/x86_64
ii linux-image-3.0.0-16-generic 3.0.0-16.29 Linux kernel image for version 3.0.0 on x86/x86_64
ii linux-image-3.0.0-17-generic 3.0.0-17.30 Linux kernel image for version 3.0.0 on x86/x86_64
ii linux-image-generic 3.0.0.17.20 Generic Linux kernel image
what does it mean 32 or 64 bit ?
when give uname -a o/p is
Linux xxxxx 3.0.0-17-generic #30-Ubuntu SMP Thu Mar 2 17:34:21 UTC 2012 i686 i686 i386 GNU/Linux
when i do file on some executable it tells it 32 bit.
ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, stripped
Источник