Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1.51 KB

setup_wsl.md

File metadata and controls

33 lines (26 loc) · 1.51 KB

How to setup Windows Subsystem for Linux

Windows Features

  1. Open the Start menu
  2. Search for "Turn Windows features on or off"
    • You will see this window: Windows Features
    • Scroll down and check the option that says "Windows Subsystem for Linux"
    • Press OK, you may need to reboot your computer

Windows Store

  1. Open the Windows Store and search for Ubuntu
    • You should see a this: Ubuntu on Windows Store
    • Click install and wait until it finishes
    • When it finished installing, you should have an Ubuntu icon in your progams
    • It will open a window like this: Ubuntu install
    • This window will guide you through the install of Ubuntu and finally ask for a username and password

Installing GCC and Make

  1. Open Ubuntu bash from the Windows start menu
    • First you need to update by running this command: sudo apt update && sudo apt upgrade, it will take some time to finish this
    • Enter the following command in the terminal: sudo apt install g++ make
    • Enter your password if needed, then press y and enter to begin installing g++ and make
    • You should have a windows like this: GGC Make install
    • When it's finished installing, you can test the programs by typing g++ -v and make -v, it should look similar to this: GGC Make version

Done!

  1. You're all setup now!