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.
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