![]() Thank you for pointing out in this answer the error in my previous instructions. Then install or upgrade the "Ubuntu 22.04" release from the Microsoft Store.Īfter installing from the Store, you can either launch it, or from PowerShell: ubuntu2204.exe install -ui=none # Confirm the distribution name and adjust below if needed To remove the existing distribution (of course, this is a destructive operation - All data inside Ubuntu will be remove), from PowerShell: wsl -l -v For that reason, at least for the moment, use the "Ubuntu 22.04" release in the Store: ![]() At some point, I would expect that the "Ubuntu" in the Store will move to 22.04, but as mentioned in the linked post, you still won't be able to use it to "upgrade" an existing distribution. There are two ways to go about this: Delete and reinstallįirst, if you really haven't starting using it yet, and are willing to just "delete and reinstall", you can go ahead and directly install 22.04. So yes, it's a good idea to go ahead and upgrade. Ubuntu upgrades are typically fairly painless, but the more you have installed, the more chance (even if still small) that something will require manual intervention on your part. It's always easier to upgrade when you have fewer packages (especially anything from a PPA) on the system. That "eventually" may be a long time down the road, since 20.04 will be supported for almost 3 more years, but you'll ultimately get 2 more years of support (from today) on 22.04 than you will on 20.04. Prior to that, even though 22.04 was released in April, it was still considered a "development" release.Įventually, you'll need to upgrade anyway. That's important, because Canonical always waits for the first point release to move an LTS release into the "stable" channel. ![]() While no release is ever "perfect", 22.04 has been out for long enough now to reach the 22.04.1 milestone. Since it's a brand new install anyway, I'd recommend going ahead and upgrading now, yes. Side-note: I recommending reading this question and my answer for some background information about why the Microsoft Store version won't upgrade an existing Ubuntu/WSL release. In general, the process for upgrading Ubuntu on WSL is pretty much the same as from a "normal" Ubuntu CLI now: sudo apt update & sudo apt full-upgrade ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |