banner



How to upgrade to Ubuntu 20.10 in WSL on Windows 10

Ubuntu on WSL Source: Windows Cardinal

Canonical has released the latest update to Ubuntu, the xx.x release known every bit "Swell Gorilla." Every bit this isn't an LTS release it won't be released into the Microsoft Store for folks to install that way and use with the Windows Subsystem for Linux (WSL).

Nevertheless, getting xx.10 installed on your machine isn't too difficult and there are a few different ways to go there. I'll first with the method I used, followed up with some handy tips from 1 of Canonical'south Ubuntu on WSL engineers that might exist more suited to your own state of affairs.

Before you lot begin

This guide assumes you already have WSL enabled on your Windows x system and that you already accept Ubuntu installed.

If you don't, we have a full guide on getting started which y'all should check out start, so take hold of Ubuntu from the Microsoft Store and run through the initial setup process.

Bang-up Gorillas

Ubuntu

Ubuntu

Catch the latest LTS release of Ubuntu from the Microsoft Shop to install version 20.04 on your WSL setup.

How to install Ubuntu 20.10 Groovy Gorilla on WSL

Ubuntu on Windows 10 Source: Windows Cardinal

Officially, the Ubuntu package yous download from the Microsoft Store won't update to 20.x as information technology'south not an LTS (Long Term Support) release. A new LTS version only comes every 2 years, with acting releases that aren't supported for as long in between, currently scheduled for every 6 months. You can read more nigh it on the Ubuntu wiki.

So, to go your Groovy Gorilla on you'll need to manually make the update. You can use either the standalone Ubuntu shell for this or open one up in Windows Last.

  1. In the last, offset enter sudo su to get root admission.
  2. Next, enter nano /etc/update-manager/release-upgrades

    Ubuntu on Windows 10 Source: Windows Fundamental

  3. Use the cursor keys to navigate to the bottom where y'all'll see prompt=lts.
  4. Modify lts to normal.

    Ubuntu on Windows 10 Source: Windows Primal

  5. Leave nano with ctrl + 10 and select y to salve the file.
  6. Back in the terminal, enter practise-release-upgrade -d.

    Ubuntu on Windows 10 Source: Windows Central

  7. After a short time yous'll exist prompted to accept the upgrade. Type y and press enter.

    Ubuntu on Windows 10 Source: Windows Primal

  8. This part volition take some time but eventually you'll be prompted to remove obsolete packages. Over again, type y and printing enter.

    Ubuntu on Windows 10 Source: Windows Central

  9. The adjacent prompt will exist to restart Ubuntu to stop. Hit y, press enter and wait.

    Ubuntu on Windows 10 Source: Windows Central

  10. When you see the regular beat return the upgrade is complete.

Ane thing to note is that Windows will still recognise it as Ubuntu 20.04, both inside WSL and in places like Windows Terminal. It'due south not a big deal but you will need to remember that if you're ever referring to Ubuntu in PowerShell, for instance, you'll still have to refer to it every bit ubuntu-20.04.

Ubuntu on Windows 10 Source: Windows Cardinal

You lot tin quickly verify that the upgrade was successful using a tool like Neofetch, or if you don't have that use the command lsb_release -a and you'll meet something like the image higher up.

Other methods

Canonical has really put together its own guide on upgrading to Ubuntu 20.10 which goes down a unlike path to this i, including side-loading images. There's a ton of detail in there and if for whatsoever reason you lot're having issues upgrading through the method detailed above, definitely follow along with information technology and try things that manner.

Whichever road you go downwards the upgrade process doesn't take that long and y'all'll accept a bleeding border Ubuntu arrangement running in WSL afterwards.

We may earn a commission for purchases using our links. Learn more.

Source: https://www.windowscentral.com/how-upgrade-ubuntu-2010-wsl-windows-10

Posted by: marcottefrientor.blogspot.com

0 Response to "How to upgrade to Ubuntu 20.10 in WSL on Windows 10"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel