LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-01-2010, 11:04 PM   #1
chitralcool
LQ Newbie
 
Registered: Apr 2010
Posts: 1

Rep: Reputation: 0
Lightbulb Install g++ 4.0.2


How can I install g++ 4.0.2, already have the newest one. but one of my make files says it needs 4.0.2. Any idea?
 
Old 04-02-2010, 12:36 AM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,105
Blog Entries: 3

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326
have fun
then when you install it do not make links to you gcc you can name it gcc402 or gcc2. the when you compile with it you will use gcc2 command.not cc or gcc

Last edited by Drakeo; 04-02-2010 at 12:39 AM.
 
Old 04-02-2010, 03:34 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,660

Rep: Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281
Welcome to LQ. ______

Please tell, which Linux, version , you are using, like
CentOS 5.4, Ubuntu 9.10, Fedora 12.
With that information included, you will get better answers.
Also please tell, which software it is, that require g++-4.0.2.
In most cases, other solutions are available.
( And a Makefile can be edited.)
http://www.linuxquestions.org/linux/...Ask_a_Question

On the most Linux, the Package Manager can install two to four
g++ compilers, all meant to be installed at the same time.
.....

Last edited by knudfl; 04-02-2010 at 03:47 AM.
 
1 members found this post helpful.
  


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
Open Office will not install on factory install of Ubuntu 8.04 LTS on Dell Mini 10 trekgirl Linux - Laptop and Netbook 6 08-01-2009 11:37 PM
Uncertain how to configure/install packages & compiler before install VMware on FC8. Azazwa Linux - Newbie 1 03-28-2009 07:27 PM
Ubuntu as frugal install, iso install, img install? impossible? nooby Ubuntu 15 08-22-2008 05:49 AM
Red Hat Linux 9 install: error "No devices found to install ... gunneszz Red Hat 1 03-10-2008 04:52 AM
apt-get install dependency problems with hplip software and kde install for Agnula maybi7 Linux - Software 1 02-03-2007 05:16 PM


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