How do I upgrade the kernel in Linux without compiling from source code?

Q. How do I upgrade of the kernel in Linux without compiling from source code? I find it difficult it – compiling kernel and selecting all those options.
A. You can use packaged kernel i.e. binary package to upgrade kernel. It will not just save your time but it modifies the boot-loader configuration file to include the new kernel.

For example if you are using Debian Linux, use apt-get command to upgrade kernel. If you are on Red Hat Enterprise Linux then use up2date or rpm command.

If you got rpm kernel package (Suse/Red Hat Linux):# rpm -ivh kernel-*If you are using Debian Linux, try command:# apt-get install linux-image-2.6.15-1-686Tip you can find out list of available Linux kernel using following command:# apt-cache search kernel-image | lessIf you are using Red Hat enterprise linux (RHEL), use command:# up2date -f kernel kernel-smp kernel-source

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 0 comments... add one

CategoryList of Unix and Linux commands
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
0 comments… add one

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Problem posting comment? Email me @