Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to upgrade Ubuntu to 4.x kernel

2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to upgrade Ubuntu to 4.x kernel, the article is very detailed, has a certain reference value, interested friends must read it!

I noticed some instability in the installed basic operating system (Elementary OS) Freya. Bluetooth becomes abnormal, and some applications begin to run slowly. Bluetooth may not be a big deal to some people, but my desktop relies on both a Bluetooth mouse and a Bluetooth trackpad, so it's starting to be a thorny problem.

It was later found out that the problem was on the 3.16 kernel. Considering that the Linux 4.0 kernel has a whole new way of dealing with devices like trackpads, I thought it might be a good idea to upgrade.

So, in order to solve these problems, I found that I had to upgrade the basic operating system Freya kernel to version 4.x. I've wanted to do this for some time to take advantage of some of the improvements and newer features in the 4.x kernel. One of the improvements is the ability to implement kernel upgrades that do not require a restart. This is a boon for server administrators, but it does require a little more effort from most desktop users.

The kernel version I downloaded from the website is 4.0.5, which includes improvements in the following areas:

ARM, x86, MIPS, PowerPC, s390, ARM64 and PA-RISC Hardwar

Btrfs, EXT4, XFS, OverlayFS, jbd2, optimized MPEG file system (OMFS), and NFS file system

Updated drivers (especially for ACPI, ATA, CLK, generic input / output, and GPU)

Improved input / output memory management

Minor fixes on the Internet and sound

Having said so much, you might as well start upgrading!

A reminder.

There is no doubt that upgrading the kernel is not like upgrading user-space applications. Something may go wrong in the process. On the whole, however, it is no longer what you used to do when you compiled the kernel and wanted to have a result. The upgrade process has been much smoother.

Even so, when you upgrade to a kernel that is not available in Ubuntu's standard software libraries (or Ubuntu derivatives such as the basic operating system Freya), be careful: the new kernel needs to be updated manually from that moment on. In other words, you won't see the 4.x kernel update in the built-in Software Updater (Software Update) application.

All right, let's officially start the upgrade.

Upgrade

Believe it or not, the upgrade process is actually quite simple. The steps are as follows:

Download the necessary packages using the following command (run from the terminal window):

If it is a 32-bit system

Wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4....

Wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4....

Wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4....

If it is a 64-bit system

Wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4....

Wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4....

Wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4....

Change to the directory where you downloaded the file and execute the following command to upgrade:

Sudo dpkg-I linux-headers-4.0.5*.deb linux-image-4.0.5*.deb***, executes the command sudo update-grub to update the grub boot loader.

Once everything is done, restart the machine and you are ready to use it. After the system restarts, open the terminal window and execute the command uname-r to make sure you are actually running the 4.0.5 kernel.

Once you have completed this upgrade, make sure to check for the upgrade. In fact, after upgrading to 4.0.5, I immediately upgraded to 4.0.8 (of course, download the necessary files for 4.0.8).

Upgrading the Linux kernel is an operation that almost any user can do.

The above is all the contents of the article "how to upgrade Ubuntu to 4.x Kernel". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report