WSLg (WSL Graphics)¶
WSLg (Windows Subsystem for Linux Graphics) is the feature that enables GUI (Graphical User Interface) applications to run on the Windows Subsystem for Linux^[600-developer__tools__windows__install-wslg.md]. It allows users to install and launch Linux graphical applications directly from the WSL environment^[600-developer__tools__windows__install-wslg.md].
Installation¶
To utilize graphical applications, you must ensure the necessary packages are installed within the WSL environment^[600-developer__tools__windows__install-wslg.md].
- Update and Upgrade: First, update the package lists and upgrade existing packages^[600-developer__tools__windows__install-wslg.md].
sudo apt update sudo apt upgrade - Install GUI Applications: You can then install specific GUI applications^[600-developer__tools__windows__install-wslg.md]. For example, to install
gedit, a common text editor found in the GNOME desktop environment:sudo apt install gedit
Related Concepts¶
- [[WSL]]
- [[Windows Terminal]]
- [[Linux]]
Sources¶
600-developer__tools__windows__install-wslg.md600-developer__tools__windows__000-MOC-windows.md