In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the relevant knowledge of "what are the new features of the Linux kernel". The editor shows you the operation process through an actual case, and the operation method is simple, fast and practical. I hope this article "what are the new features of the Linux kernel" can help you solve the problem.
Preparatory work
To update the kernel, you first need to determine whether you are using a 32-bit or 64-bit system. Open the terminal container and run:
Uname-a
Then check to see if the output is x86x64 or i686. If it is x86 / 64, it means you are running a 64-bit version, otherwise you are running a 32-bit version. Remember this, because it's important.
Next, visit the official Linux kernel website. This will tell you what the current stable version of the kernel is. If you like, you can try to release the candidate version, but it is not as fully tested as the stable version. Unless you are convinced that you need to release a candidate, use a stable kernel.
I. Ubuntu guidance
Users of Ubuntu and Ubuntu derivatives can easily update the kernel, thanks to the Ubuntu mainline kernel PPA. Although its official name is PPA, you can't add it to the list of software sources like other PPA, and expect it to automatically upgrade the kernel for you. In fact, it is a web page where you can browse and download the kernel you want.
Now, visit the kernel PPA web page and scroll to the bottom. There may be some release candidates at the bottom of the list (you can see the word "rc" in the name), but directly above them should be the latest stable version. Click on it and you will see several options. You need to download 3 files and save them to their respective folders (if you like, you can put them in the Downloads folder), so that they are isolated from other files:
The "generic" header file for your architecture (I am 64-bit here, that is, "amd64") when the Chinese file name ends with "all" header file for your architecture's "generic" kernel file (again, I will use "amd64", but if you use 32-bit, you need "i686")
You will notice that there are also "lowlatency" (low latency) files that can be downloaded, but it is best to ignore them. Such files are relatively unstable and are intended only for people whose general-purpose files cannot meet tasks such as audio recording and require the advantage of low latency. Again, it is recommended that you prefer the general version; try lowlatency only if performance is not good enough for some tasks. No, games and surfing the Internet are not excuses for using lowlatency.
You have put these under their respective folders, haven't you? Now open the terminal and use the cd command to enter the folder you just created, such as
Cd / home/user/Downloads/Kernel
Then run:
Sudo dpkg-I * .deb
This command marks all .deb files in the folder as "to be installed" and then performs the installation. This is the recommended way to install these files, because otherwise it is easy to report dependency problems after selecting a file to be installed. This method can avoid this problem. If you don't know what cd and sudo are, you can get an overview of the basic Linux commands.
Once the installation is complete, restart the system and you should be running the kernel you just installed! You can run uname-an in the terminal to check the output.
II. Fedora guidance
If you use Fedora or its derivative, the whole process is very similar to Ubuntu. It's just that the location to download different files is different, and the installation commands are different.
View a list of the latest kernels built for Fedora. Select the latest stable version from the list, and then scroll down to i686 or x86264, depending on the architecture of your system. In this section, you need to download the following files and save them to their respective folders (such as "Kernel" under the Downloads folder):
Kernel kernel-core kernel-headers kernel-modules kernel-modules-extra kernel-tools perf and python-perf (optional)
If your system is i686 (32-bit) and has 4GB or more memory, you need to download PAE versions of all these files. PAE is an address extension technology for 32-bit systems that allows the system to use more memory than 3GB.
Now use the cd command to enter the folder, such as:
Cd / home/user/Downloads/Kernel
Then run the following command to install all the files:
Yum-- nogpgcheck localinstall * .rpm
Finally, restart the computer, and you should run the new kernel!
Third, use Rawhide
In addition, Fedora users can automatically update each of the latest packages, including the kernel, as long as they switch to Rawhide. However, Rawhide often goes wrong (especially early in the development cycle) and should not be used on systems that are indispensable to you.
IV. Arch guidance
Arch users should always have the latest and best stable kernel (or a very close version). If you want to get closer to the latest stable kernel, you can enable the test library, which allows you to enjoy the major new version two or three weeks in advance.
To do this, just use your usual terminal text editor, open the file at / etc/pacman.conf with sudo permissions, and uncomment the three lines related to the test (remove the # sign before each line). If you enable the multilib software library, do the same for the multilib-testing software library.
Upgrading the kernel is not easy (intentionally), but it will bring you a lot of benefits. As long as your new kernel doesn't break anything, you can enjoy higher performance, better efficiency, support for more hardware, and potential new features. This is especially true if you are running newer hardware, and upgrading the kernel does help a lot.
That's all for "what are the new features of the Linux kernel?" Thank you for reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.