Hello, i work in windows linux subsytem (ubundu)
This subsystem by default installs g++ 9 on it. But it causes me problems with the things i m working on.
So i used sudo apt-get remove gcc g++ to remove it.
Then i used the following commands i found on net to install the 7.4.0