After downloading the Ubuntu app from the Windows store, I tried to run
gcc --version
and it showed command gcc not found
same was the case for g++
.
I tried to install using sudo apt install gcc
and it kept showing me errors like
Err:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 binutils-common amd64 2.30-21ubuntu1~18.04.1 404 Not Found
and at the end it gave me this
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
What I already …