On Windows 11, you have at least three ways to remove any Linux distribution from WSL. And here's how to do it.
Channel | Publish Date | Thumbnail & View Count | Actions |
---|---|---|---|
Pureinfotech | 2024-07-06 09:30:14 | 1,483 Views |
Windows 11: Uninstall a Linux distribution from WSL (3 methods)
UPDATED, 07/06/2024: The Windows Subsystem for Linux (WSL) allows you to completely remove any Linux distribution (e.g. Ubuntu, Kali, Mint, and Debian) in at least three ways, regardless of whether you are using Windows 11 or Windows 10.
Because Linux distributions are available through the Microsoft Store, they are considered applications, which means you can use the Settings app and the Windows Package Manager (Winget) command to uninstall any distribution.
You can also use the –unregister option with the wsl.exe tool, but this will only reset the Linux instance without deleting the files. However, this command would remove a distribution that you restored from backup.