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

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

Go to aka.ms/wslstore and install Ubuntu.

Run bash and create a user account with a password.

bash1

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.

bash2

Advertisement

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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: