How to Uninstall Linux GUI Apps on Windows 11

Windows 11 allows you to run Linux GUI apps using the Windows Subsystem for Linux (WSL), making it easier to use Linux tools alongside your Windows environment. However, over time, you may want to remove unused Linux GUI apps to free up space or clean up your system.

Unlike traditional Windows apps, Linux GUI apps are installed inside your Linux distribution (such as Ubuntu) and need to be removed using Linux commands or WSL management tools. Understanding the correct method ensures complete removal without breaking your Linux environment.

In this guide, we’ll walk you through how to uninstall Linux GUI apps on Windows 11 step by step.

How to Uninstall Linux GUI Apps on Windows 11

Before proceeding, note that Linux apps are managed inside your WSL distribution. This means you’ll need to use terminal commands rather than Windows Settings for most cases.

1. Open Your WSL Distribution

Start by launching your Linux environment.

  1. Press Windows + S and search for your Linux distro (e.g., Ubuntu).
  2. Click to open it.

This opens the terminal where your Linux apps are installed.

2. Identify Installed Applications

To uninstall an app, you need its package name.

  1. In the terminal, run: dpkg –list
  2. Scroll through the list to find the app.

This shows all installed packages in your Linux environment.

3. Uninstall the Linux GUI App

Use the package manager to remove the app.

  1. Enter the following command: sudo apt remove app-name
  2. Replace app-name with the actual package name.
  3. Press Enter and confirm.

This removes the application but may leave some configuration files.

4. Remove Configuration Files (Optional)

To completely remove the app:

  1. Run: sudo apt purge app-name
  2. Confirm the action.

This deletes all related configuration files.

5. Clean Up Unused Dependencies

After uninstalling, clean up leftover packages.

  1. Run: sudo apt autoremove
  2. Press Enter to confirm.

This removes unnecessary dependencies.

6. Uninstall Snap Apps (If Installed via Snap)

Some Linux GUI apps may be installed using Snap.

  1. Check installed Snap apps: snap list
  2. Remove an app: sudo snap remove app-name

This ensures complete removal of Snap-based apps.

7. Remove Flatpak Apps (If Used)

If you use Flatpak:

  1. List apps: flatpak list
  2. Remove an app: flatpak uninstall app-name

Flatpak apps are managed separately from APT.

8. Restart WSL (Optional)

To apply changes cleanly:

  1. Open Command Prompt or PowerShell.
  2. Run: wsl –shutdown

This restarts the WSL environment.

9. Uninstall Entire Linux Distribution (Optional)

If you want to remove everything:

  1. Open Settings > Apps > Installed apps.
  2. Find your Linux distribution (e.g., Ubuntu).
  3. Click Uninstall.

This removes all Linux apps and data.

Conclusion

Uninstalling Linux GUI apps on Windows 11 requires using WSL commands rather than standard Windows methods. Whether you installed apps via APT, Snap, or Flatpak, each method has its own removal process.

By following the steps in this guide, you can safely remove unwanted Linux applications and keep your WSL environment clean and efficient. Regular maintenance and cleanup will help ensure better performance and organization.

Posted by Raj Bepari

I’m a digital content creator passionate about everything tech.