Installing WSL, Ubuntu Bash, GCC, G++ on Windows 10

First of all, install Windows Subsystem for LInux on Windows Features. Reboot.

Go to and install Ubuntu.

Run bash and create a user account with a password.


Make a “sudo apt update” to update the repo packages.

Then you can do “sudo apt install gcc” and “sudo apt install g++”.

You can copy your files from your Windows system to WSL using /mnt/<drive>. Take acre of converting files to UTF8 from VS using notepad++ or iconv.



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: