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
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install g++-7.4.0
but i get...
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package g++-7.4.0
E: Couldn't find any package by glob 'g++-7.4.0'
E: Couldn't find any package by regex 'g++-7.4.0'
any help how to successfully downgrade my g++?
update:
i removed the (-) from 7.4.0 ind installed it
but again the version 9 not the one i need...
g++ (Ubuntu 9.3.0-10ubuntu2) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
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
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install g++-7.4.0
but i get...
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package g++-7.4.0
E: Couldn't find any package by glob 'g++-7.4.0'
E: Couldn't find any package by regex 'g++-7.4.0'
any help how to successfully downgrade my g++?
update:
i removed the (-) from 7.4.0 ind installed it
but again the version 9 not the one i need...
g++ (Ubuntu 9.3.0-10ubuntu2) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Last edited: