The second method uses a third-party PPA, which means that the kernel will be updated with the built-in package manager instead of having to upgrade manually as you did above. You should see that the system is now running kernel 6.0. Once the installation completes, reboot the machine and verify the kernel with: You might get an error that the system is unable to build the modules. Now, to install those files, issue the command: Here are the files you’ll want to download and the commands to do so: The first method we’ll use is manually downloading the necessary files and installing them with dpkg. Once this completes, reboot the system and log back in. The above command will update apt and then run the full upgrade. Sudo apt-get update & sudo apt-get full-upgrade -y Log in to your Ubuntu instance, open a terminal window, and issue the command: The first thing we need to do is run a full upgrade. You’ll also need a user with sudo privileges. Instead, install it on test machines to make certain everything works as expected. Stack Overflow's 2023 Developer Survey: Are developers using AI?įirst of all, you’ll need a running instance of Ubuntu 22.04, though I would advise against doing this on production machines. Top Python AI and Machine Learning Libraries TIOBE Index for July 2023: C++ and C Jockey for Second What you’ll need to install kernel 6.0 on Ubuntu 22.04 Must-read developer coverage To that end, I have the steps you need to get this new kernel up and running. Nevertheless, I know how some - such as myself - cannot wait to test out the shiniest new release from the kernel maintainers. By holding off, you ensure the maintainers of your distribution have had time to polish everything so that everything works exactly as expected. One thing you should keep in mind is that you really should wait until the kernel has been released to the repositories for your distribution of choice. SEE: 40+ open source and Linux terms you need to know (TechRepublic Premium) Never fear: I’m going to show you how to get this new kernel running on your Ubuntu 22.04 deployments. However, it will be some time before the majority of Linux distributions ship with the latest kernel from creator Linus Torvalds. Linux kernel 6.0 is the latest release for the operating system and includes the usual bevy of fixes, performance improvements, enhancements and new hardware support. Jack Wallen walks you through two different methods of installing the latest Linux kernel on Ubuntu 22.04. wslconfig with the appropriate section and kernel config.How to install Linux kernel 6.0 on Ubuntu 22.04 Once you've compiled or obtained a custom kernel, you can specify it be used for all WSL2 instances by creating a. It's best to start from the Microsoft sources, since it has the right selection of config options for the kernel to best operate in Windows/WSL2. You can still opt in to automatic updates, and (when available) the new kernel will be upgraded via the normal Windows Update mechanism.įinally, you can certainly compile your own WSL2 kernel. wsl -update -rollback is also no longer available in these releases.įor older versions of Windows 10 that don't support wsl -update, please see answer. Because it is a user-level application, you no longer need to run wsl -update in an Administrative session. If you are using this Store version, then wsl -update will not only update the kernel itself, but also the WSL Store package with the latest version. Note: There is also currently a "Preview" release of WSL available in the Microsoft Store for Windows 11 users. Regardless, I recommend renaming (or moving to another location) the previous kernel before updating, so that you can toggle between various kernels if needed using the. If needed, you can revert to the previous kernel release with: wsl -update -rollback Note that you may need to run wsl -update in an Administrative session to update. 5.15.57.1 has just been made available as the latest Preview release (on Windows 11 Insider builds).5.10.102.1 is the latest stable kernel available via wsl -update (and automatic Windows updates) for both Windows 10 and 11 systems.However, now, as of the time of this edit: This is why wsl -update wasn't pulling it in (at the time) for the OP - It was simply not yet available for wsl -update (or Windows automatic updates either). It had just been released a few days earlier on March 8th. 5.10.102.1 was the latest available in the Github repository for the WSL2 kernel.5.10.60.1 was the most recent available release for automatic update on Windows 11.There are currently at least three ways to upgrade your WSL2 kernel:įor recent Windows versions (Windows 10 21H2 and Windows 11), wsl -update is typically the best option, but realize that there is a slight lag between the time that Microsoft releases a kernel on Github and the time that they make it available for automatic updates.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |