Original source
By default, all installed Linux kernels and related files are stored in the /boot directory. Just use the find command to see the list of installed kernels:
$ <span class="token function">find</span> /boot/vmli* /boot/vmlinuz /boot/vmlinuz-5.4.0-64-generic /boot/vmlinuz-5.4.0-65-generic /boot/vmlinuz.old
As you can see in the previous output, I have two Linux kernel versions installed on my Ubuntu desktop machine (5.4.0-64 and 5.4.0-65).
Now we will see distribution-specific ways to find out installed Linux kernel details. First, let's start with AlpineLinux.
Detecting installed kernels in AlpineLinux
We can use the following apkinfo-vv|greplinux command to detect all installed kernels and their versions, such as:
$ apk info -vv <span class="token operator">|</span> <span class="token function">grep</span> linux libblkid-2.32-r0 - Block device identification library from util-linux linux-virt-4.14.167-r0 - Linux vanilla kernel syslinux-6.04_pre1-r1 - Boot loader <span class="token keyword">for</span> the Linux operating system
List the installed kernels in ArchLinux
To see everything installed in ArchLinux and its variants (such as ManjaroLinux) To see what system linux is , run the following pacman-Qlinux command:
$ pacman -Q linux linux <span class="token number">5.9</span>.14.arch1-1
You can also combine the pacman and grep commands to list the installed kernel versions:
$ pacman -Q <span class="token operator">|</span> <span class="token function">grep</span> linux archlinux-keyring <span class="token number">20201210</span>-1 linux <span class="token number">5.9</span>.14.arch1-1 linux-api-headers <span class="token number">5.8</span>-1 util-linux <span class="token number">2.36</span>.1-4 util-linux-libs <span class="token number">2.36</span>.1-4
As shown aboveCheck what system linux is, there is only one Linux kernel in the ArchLinux system Introduction to the linux system, its version is 5.9.14
Find installed Linux kernels in Debian, Ubuntu, Pop!_OS
In Debian and other Debian-based systems (such as Ubuntu, Pop!_OS, LinuxMint) suse linux download, we can find the list of all installed kernels using the dpkg command:
$ dpkg --list <span class="token operator">|</span> <span class="token function">grep</span> linux-image iilinux-image-5.4.0-64-generic <span class="token number">5.4</span>.0-64.72 amd64Signed kernel image generic iilinux-image-5.4.0-65-generic <span class="token number">5.4</span>.0-65.73 amd64Signed kernel image generic iilinux-image-generic<span class="token number">5.4</span>.0.65.68 amd64Generic Linux kernel image
View Fedora, CentOS, RHEL, AlmaLinux to view the installed kernel
In RPM-based systems, such as Fedora and its downstream versions, such as CentOS, RHEL and RHEL-clone, such as AlmaLinux, we can use the rpm-qakernel or rpm-qa|grep-ikernel command to view all installed Kernel
Fedora33:
$ <span class="token function">rpm</span> -qa <span class="token operator">|</span> <span class="token function">grep</span> -i kernel kernel-core-5.8.15-301.fc33.x86_64
AlmaLinux8.3:
List all installed LinuxKernels in openSUSE
Because openSUSE is also an RPM-based system, the rpm-qa|grep-ikernel command can also be used in this system to enumerate the kernel
Only view detailed information about the current kernel
You can view the currently running kernel through uname-r or uname-mrs
$ <span class="token function">uname</span> -r <span class="token number">5.4</span>.0-65-generic $ <span class="token function">uname</span> -mrs Linux <span class="token number">5.4</span>.0-65-generic x86_64
The above is the detailed content of All installed Linux kernels and their associated files are stored in Alpine. For more information, please follow other related articles on the PHP Chinese website!

The main differences between Linux and Windows in virtualization support are: 1) Linux provides KVM and Xen, with outstanding performance and flexibility, suitable for high customization environments; 2) Windows supports virtualization through Hyper-V, with a friendly interface, and is closely integrated with the Microsoft ecosystem, suitable for enterprises that rely on Microsoft software.

The main tasks of Linux system administrators include system monitoring and performance tuning, user management, software package management, security management and backup, troubleshooting and resolution, performance optimization and best practices. 1. Use top, htop and other tools to monitor system performance and tune it. 2. Manage user accounts and permissions through useradd commands and other commands. 3. Use apt and yum to manage software packages to ensure system updates and security. 4. Configure a firewall, monitor logs, and perform data backup to ensure system security. 5. Troubleshoot and resolve through log analysis and tool use. 6. Optimize kernel parameters and application configuration, and follow best practices to improve system performance and stability.

Learning Linux is not difficult. 1.Linux is an open source operating system based on Unix and is widely used in servers, embedded systems and personal computers. 2. Understanding file system and permission management is the key. The file system is hierarchical, and permissions include reading, writing and execution. 3. Package management systems such as apt and dnf make software management convenient. 4. Process management is implemented through ps and top commands. 5. Start learning from basic commands such as mkdir, cd, touch and nano, and then try advanced usage such as shell scripts and text processing. 6. Common errors such as permission problems can be solved through sudo and chmod. 7. Performance optimization suggestions include using htop to monitor resources, cleaning unnecessary files, and using sy

The average annual salary of Linux administrators is $75,000 to $95,000 in the United States and €40,000 to €60,000 in Europe. To increase salary, you can: 1. Continuously learn new technologies, such as cloud computing and container technology; 2. Accumulate project experience and establish Portfolio; 3. Establish a professional network and expand your network.

The main uses of Linux include: 1. Server operating system, 2. Embedded system, 3. Desktop operating system, 4. Development and testing environment. Linux excels in these areas, providing stability, security and efficient development tools.

The Internet does not rely on a single operating system, but Linux plays an important role in it. Linux is widely used in servers and network devices and is popular for its stability, security and scalability.

The core of the Linux operating system is its command line interface, which can perform various operations through the command line. 1. File and directory operations use ls, cd, mkdir, rm and other commands to manage files and directories. 2. User and permission management ensures system security and resource allocation through useradd, passwd, chmod and other commands. 3. Process management uses ps, kill and other commands to monitor and control system processes. 4. Network operations include ping, ifconfig, ssh and other commands to configure and manage network connections. 5. System monitoring and maintenance use commands such as top, df, du to understand the system's operating status and resource usage.

Introduction Linux is a powerful operating system favored by developers, system administrators, and power users due to its flexibility and efficiency. However, frequently using long and complex commands can be tedious and er


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

WebStorm Mac version
Useful JavaScript development tools

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

Notepad++7.3.1
Easy-to-use and free code editor