---
# System prepended metadata

title: Windows WSL(ubuntu)

---

Windows WSL(ubuntu)
===

Activate WSL
---

* Run Windows PowerShell as system administrator.
         ![](https://hackmd.io/_uploads/B1qv64yJa.png)
* Run the command below.
     ```
     $ Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
     ```
     **Reboot the computer**

Install Ubuntu
---

* Search Ubuntu on Microsoft Store and install
    ![](https://hackmd.io/_uploads/HJL_64kkp.png)
* Set username & password after installation
    ![](https://hackmd.io/_uploads/Bkpup411p.png)


Ubuntu tools
---
* Check git, gcc & make 
    ```
    $ git --version
    git version 2.34.1
    $ gcc --version
    gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
    Copyright (C) 2021 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    $ make --version
    GNU Make 4.3
    Built for x86_64-pc-linux-gnu
    Copyright (C) 1988-2020 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.
    ```
    *  If there is “Command ... not found”:
        ```
        $ sudo apt-get update
        $ sudo apt install git
        $ sudo apt install gcc
        $ sudo apt install make
        ```