LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-22-2006, 01:09 AM   #1
MrSnrub
LQ Newbie
 
Registered: Mar 2006
Posts: 4

Rep: Reputation: 0
Can't find g++ in YaST!


I have SuSE 10 Pro. I am trying to get g++ from Yast so I can
compile programs. I have 9 installation sources from Novell and
the SuSE 10 DVD, and Yast can't find g++.
Thanks for any help you could give.
 
Old 03-22-2006, 03:03 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
rpm -q --all --filesbypkg | grep 'bin/g++'
gcc-c++ /usr/bin/g++
 
Old 03-22-2006, 06:07 AM   #3
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 4,065

Rep: Reputation: Disabled
Wouldn't do that this way . Rather use yast and install from there. Else you should additionally run "SuSEconfig" and "ldconfig", or your system might get instable. (I typed "SuSEconfig" and "ldconf" from memory, maybe it is "SuSEConfig" and "ldconfig", you'll have to experiment a little...).

Last edited by JZL240I-U; 03-23-2006 at 08:08 AM.
 
Old 03-23-2006, 01:03 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
The package name is gcc-c++

The rpm command was just a query.
 
Old 03-23-2006, 03:13 AM   #5
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Bottom line, "g++" is nothing more than the C++ compiler of the "gcc" package.
If you take a look at gcc man page and g++ man page, you'll see that they are the same.
 
Old 03-23-2006, 08:10 AM   #6
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 4,065

Rep: Reputation: Disabled
Easiest is probably to search for the "develop"-package and install that (contains also the headers and kernel sources, which are needed by some programs).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Find yast sources alaios SUSE / openSUSE 2 03-11-2006 03:39 AM
Can not find yast online update for nvidia driver suse 10.0 sirius57 SUSE / openSUSE 8 02-28-2006 09:54 AM
kaffeine installation with yast can't find xine installed from souce marret SUSE / openSUSE 8 02-03-2006 02:38 PM
cannot find apps with yast itywygms Linux - Newbie 1 09-09-2004 03:30 AM
SuSE's YaST - can't find an app Andy@DP Linux - Distributions 0 04-23-2004 04:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration