Tag Info

New answers tagged

0

After Some search, i found a relevant answer here... How do I resolve unmet dependencies after adding a PPA? However, for me the following command worked out sudo apt-get install ppa-purge and then i ran the command for installing g++ and it installed successfully.


0

Install GCC GNU 4.9 sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt-get update sudo apt-get install gcc-4.9 Remove the previous gcc version from the default applications list (if already exists) sudo update-alternatives --remove-all gcc Make GCC 4.9 the default compiler on the system sudo update-alternatives --install /usr/bin/gcc gcc ...


1

Simply start: dpkg -L g++ to list all installed files for the package g++ or use: which g++ to show the path for the command g++ Write a "hello world" Open a sour-code file nano helloworld.cpp Add the code below #include <iostream> int main(){ std::cout ...



Top 50 recent answers are included