LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 07-28-2005, 04:29 PM   #1
ohade
LQ Newbie
 
Registered: Jul 2005
Posts: 23

Rep: Reputation: 15
problem with g++


hi all,

i need help with installation of g++.

how can i instal g++ in my mandrake?

i found and installed gcc but i didn't find g++ in the software package installation,
so i be happy for some help

tnx,
ohad.
 
Old 07-28-2005, 04:40 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 125Reputation: 125
g++ is part of the gcc collection.
 
Old 07-29-2005, 12:24 AM   #3
abattoir
Member
 
Registered: Feb 2005
Distribution: Kubuntu 6.10
Posts: 313

Rep: Reputation: 30
If you have urpmi set up, all you have to do is(as root).
Code:
urpmi gcc-c++
For setting up urpmi, visit
http://easyurpmi.zarb.org
For more info on urpmi visit
http://wiki.linuxquestions.org/wiki/URPMI

Last edited by abattoir; 07-29-2005 at 12:30 AM.
 
Old 07-29-2005, 01:28 AM   #4
ohade
LQ Newbie
 
Registered: Jul 2005
Posts: 23

Original Poster
Rep: Reputation: 15
when you say that g++ is part of the gcc collection you mean that i can compile with gcc c++ files or that i should install something?
 
Old 07-29-2005, 01:46 AM   #5
abattoir
Member
 
Registered: Feb 2005
Distribution: Kubuntu 6.10
Posts: 313

Rep: Reputation: 30
You need to install the package gcc-c++, yes gcc-c++(g++) is part of the gcc project, but the package gcc-c++ is not necessarily included with gcc.
 
Old 07-29-2005, 02:40 AM   #6
ohade
LQ Newbie
 
Registered: Jul 2005
Posts: 23

Original Poster
Rep: Reputation: 15
I found two packages call "gcc-cpp-2.96-0.83mdk" & "gcc-cpp-3.4.1-3mdk". i hope this will help.

tnx to you all for the help.
 
Old 07-29-2005, 03:36 AM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Quote:
Originally posted by ohade
I found two packages call "gcc-cpp-2.96-0.83mdk" & "gcc-cpp-3.4.1-3mdk". i hope this will help.

tnx to you all for the help.
The correct way to install gcc-c++ is what abattoir posted above.
Code:
#urpmi gcc-c++
This will install g++ and all its dependencies automatically.
 
Old 07-29-2005, 03:46 AM   #8
ohade
LQ Newbie
 
Registered: Jul 2005
Posts: 23

Original Poster
Rep: Reputation: 15
can you explain more about

#urpmi gcc-c++

what should i do exactly?

tnx.
 
Old 07-29-2005, 03:55 AM   #9
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Quote:
Originally posted by ohade
can you explain more about

#urpmi gcc-c++

what should i do exactly?

tnx.
Urpmi is the Mandrake/Mandriva package manager and it can install packages from your CD's, hard drive or from the web. To find out more about it go to zebulon.org.uk and to seup more sources for your release, follow the instructions at easyurpmi.

The command I posted above is done as root (# means root).
 
Old 07-29-2005, 04:16 AM   #10
ohade
LQ Newbie
 
Registered: Jul 2005
Posts: 23

Original Poster
Rep: Reputation: 15
can you give me a link so i can download the gcc-c++ package?
 
Old 07-29-2005, 04:19 AM   #11
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Quote:
Originally posted by ohade
can you give me a link so i can download the gcc-c++ package?
I have already shown you how to install it correctly in my previous posts.
 
  


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
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 12:49 AM.

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