LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-16-2005, 06:18 AM   #1
Sharmi
LQ Newbie
 
Registered: Mar 2005
Posts: 9

Rep: Reputation: 0
How to install g++ in linux


Hi,
I am a newbie to linux.Can anyone tell me in detail how to install g++ in linux.I have no idea on that.

Thanks in advance
 
Old 03-16-2005, 06:24 AM   #2
GSX
Member
 
Registered: Feb 2005
Location: Germany
Distribution: Debian Etch, kernel 2.6.18
Posts: 103

Rep: Reputation: 15
Tell us what distro you use...
 
Old 03-16-2005, 09:51 AM   #3
hongman
Member
 
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 285

Rep: Reputation: 35
distro = distribution

I.E Knoppix, Redhat, Fedora, Gentoo, etc.
 
Old 03-16-2005, 09:52 AM   #4
bitt_u
Member
 
Registered: Mar 2005
Posts: 39

Rep: Reputation: 15
see if you need to install g++ or for tht matter any application in linux you have to do the following,
1.compile the source code
2. installing the compiled source code

these two processes change according to the distros, so you got to tell us your distro!
 
Old 03-16-2005, 11:22 PM   #5
Sharmi
LQ Newbie
 
Registered: Mar 2005
Posts: 9

Original Poster
Rep: Reputation: 0
I have installed Fedora
 
Old 03-17-2005, 12:55 AM   #6
ironwalker
Member
 
Registered: Feb 2003
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506

Rep: Reputation: Disabled
yum install gcc-c++


Doesnt fedora have an add/remove in fedora menu(like windows)?...Just add it from there possibly as well

Last edited by ironwalker; 03-17-2005 at 12:59 AM.
 
Old 03-17-2005, 05:24 AM   #7
bitt_u
Member
 
Registered: Mar 2005
Posts: 39

Rep: Reputation: 15
hi,
have you got a source code for g++. it must be .tar.gz file or an .src.rpm file?I exactly do not know which kind Fedora uses
 
Old 03-17-2005, 05:31 AM   #8
bitt_u
Member
 
Registered: Mar 2005
Posts: 39

Rep: Reputation: 15
I think fedora does not have a GUI installer for programs like synaptic in debian,update me if i am wrong!
 
Old 03-17-2005, 10:55 AM   #9
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
Fedora can use YUM with a gui called GYUM. Alternatively you can use apt with synaptic, just like in Debain.
 
Old 03-17-2005, 11:50 PM   #10
Sharmi
LQ Newbie
 
Registered: Mar 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Hi,
I have installed the g++ .it shows some librarry files r missing.btw,what is YUM.is it a must for g++.Please let me know
 
Old 03-18-2005, 04:02 AM   #11
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
YUM is a package manager for Redhat (and its clones), Fedora and Yellow Dog (YUM => YellowDog Update Manager). Install the missing packages if g++ says they are missing.
 
  


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
Error: Unable to boot /install/2.6/linux when starting Etch Install BuckRogers01 Debian 4 08-06-2005 07:40 PM
Install any linux reads CD at Boot, but not for install Ichthus Linux - Software 0 01-23-2005 03:28 PM
Trying to install Linux...Old System won't boot/install from disk. Diademed Linux - General 4 07-25-2004 01:51 AM
How to install linux on a no-default-install-kernel-compatible controller ? DukeMC Linux - Hardware 2 11-20-2003 04:37 AM
Files from Windows Install to Linux Install Ehuwiko Linux - General 2 10-24-2003 03:57 PM


All times are GMT -5. The time now is 06:40 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