Looking for g++

Checking here where the Dev live before submitting a request…

Was wondering if anyone has found or used g++?

I have an app which requires it, but it’s not to be found anywhere I’ve looked short of looking for an RPM built for another distro like Fedora…
Have looked in both 13.2 and TW, and http://software.opensuse.org

Have run searches both for g++ directly and “provides”

zypper se g++
zypper se --provides g++

Don’t be fooled by the results of “provide” – I installed the libraries but found that “the” g++ still isn’t installed.

One article on the Internet suggest that g++ should be included in the gcc, but it’s not to be found.
Have installed and inspected the contents of both gcc48 and gcc49
Have also installed compat.

In theory, after it’s successfully installed, a simple test would be to simply run “g++” similar to what is found on the g++ project page
http://www.cprogramming.com/g++.html

TIA,
TSU

Hi
Install gcc-c++, it will be /usr/bin/g++{binsuffix}

Thx.

Now, I’m wondering why my searches didn’t return that result.
Maybe the packager still needs to provide a better description so its contents can be found.

TSU

On Sun 11 Oct 2015 07:56:01 PM CDT, tsu2 wrote:

Thx.

Now, I’m wondering why my searches didn’t return that result.
Maybe the packager still needs to provide a better description so its
contents can be found.

TSU

Hi
The cnf command should help in those cases?


malcolml@grover:~> g++
If 'g++' is not a typo you can use command-not-found to lookup the
package that contains it, like this: cnf g++
malcolml@grover:~> cnf g++

The program 'g++' can be found in the following package:
* gcc-c++  path: /usr/bin/g++, repository: zypp (repo-oss) ]

Try installing with:
sudo zypper install gcc-c++


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 | GNOME 3.10.1 | 3.12.44-52.18-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

On 2015-10-11, tsu2 <tsu2@no-mx.forums.microfocus.com> wrote:
>
> Checking here where the Dev live before submitting a request…
>
> Was wondering if anyone has found or used g++?

I can see Malcolm’s response has you fully covered. If it’s any help to you, my usual `get g++ for openSUSE’ is:


sh-4.2 zypper in gcc-c++ cgdb make kernel-devel