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 10-19-2011, 09:53 PM   #1
ryyyak
LQ Newbie
 
Registered: Oct 2011
Posts: 2

Rep: Reputation: Disabled
How to install g++ 3.4.3 on Ubuntu 11.10 ?


Hi every body , i am very new to Linux , i need your help for installing g++ 3.4.3 under Ubuntu 11.10 because i have a source code must be compiled under that version .
Thanks
 
Old 10-19-2011, 10:46 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,962
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Hi, welcome to LQ!

I'd suggest trying to find something as ancient as dapper, and running it
in a VM. I don't think getting that old a compiler to play nicely w/ a
current distro would be easy.



Cheers,
Tink
 
Old 10-20-2011, 01:18 AM   #3
kalsoufi
LQ Newbie
 
Registered: Jul 2011
Posts: 12

Rep: Reputation: Disabled
Hi ryyyak,

I think you want to install ieee 802.11e. if so you can see this link
http://www.linuxquestions.org/questi...f-gcc4-889781/
I think it'll be sufficient.
 
Old 10-20-2011, 01:46 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,519

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
The latest Ubuntu where you could create older compilers was 11.04.

And installing older Ubuntu compiler packages : Latest was 10.10.
( We used to have up to 5 different gcc/g++ installed at the same time.)

11.10 : Only the default gcc/g++ versions 4.6.1, 4.5.3, 4.4.6 work.
No way to install or create another compiler, AFAIK.


Suggest : Use Ubuntu 10.04 or 10.10 to compile your files.
(The Ubuntu Hardy gcc / g++ versions 3.3.6 and 3.4.6 can be installed.)


Conclusion : Avoid Ubuntu 11.04 and 11.10 for developing non Ubuntu 11 software.
Any other Linux OS will do better.


..

Last edited by knudfl; 10-20-2011 at 05:46 AM.
 
Old 10-20-2011, 06:47 AM   #5
ryyyak
LQ Newbie
 
Registered: Oct 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
To Tinkster, kalsoufi, knudfl
Thank you all for your attention , i will keep your advice in my mind , may be i'll try to install old version of linux as knudfl says.
Really i have a written code , i just want to run it to critic the results ..
 
Old 10-20-2011, 08:44 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,519

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
Ubuntu 10.04 is not really an old version.

10.04 : "Long Term Supported" = Continuously updated. Till 2013 ?
 
Old 10-20-2011, 09:06 AM   #7
linuxwin2
Member
 
Registered: Oct 2011
Posts: 44

Rep: Reputation: Disabled
Try to do
Code:
$sudo apt-get install g++
Or download it from
http://packages.ubuntu.com/en/hardy/...+-4.2/download
 
Old 10-20-2011, 09:29 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,519

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
@linuxwin2 post # 7.

sudo apt-get install g++ : Installs version 4.6.1.

Read post # 4 :
No old compiler (Like the Hardy ones) will work in Ubuntu 11.10.
 
  


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
how to use apt-get/aptitude/dpkg in ubuntu to install packages on a HDD (booting ubuntu from CD) gujedan Linux - Newbie 1 10-07-2010 06:02 AM
mistake when install ubuntu (accidentally install ubuntu on the same partitions as VS ThomasC Ubuntu 7 08-11-2009 03:26 PM
Time Warp / Clock Problem - Ubuntu Alternate CD install over Ubuntu Server krimzen85 Linux - Software 2 08-07-2009 10:01 AM
Ubuntu as frugal install, iso install, img install? impossible? nooby Ubuntu 15 08-22-2008 05:49 AM


All times are GMT -5. The time now is 01:53 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration