windows_wsl_build.rst (777B)
1 Building Firefox on Windows using WSL 2 ======================================= 3 4 These steps were verified to work as of June 2024. 5 6 #. Install WSL (Windows Subsystem for Linux) on Windows by running Windows Powershell as Administrator and typing: 7 8 .. code:: 9 10 wsl --install 11 12 #. Reboot Windows 13 14 #. Upon reboot, you should be asked to set up a user and password for Linux. If not, open Ubuntu from the Start menu. 15 16 #. Follow the :ref:`Building Firefox On Linux` instructions. 17 18 .. note:: 19 20 For Mercurial to work, you will need to follow the instructions for bash and restart WSL. 21 22 #. Run the following commands to install dependencies needed to build and run Firefox: 23 24 .. code:: 25 26 sudo apt update 27 sudo apt install libgtk-3-0 libasound2 libx11-xcb-dev