LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 05-04-2016, 02:12 AM   #1
james2408
LQ Newbie
 
Registered: May 2016
Posts: 2

Rep: Reputation: Disabled
Angry installing gcc 4.3 on ubuntu 15.10


first I removed my current version of gcc i.e gcc 5.2
then now I'm trying to install gcc 4.3, its showing this error
please help

Package gcc-4.3 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
 
Old 05-04-2016, 02:34 AM   #2
HMW
Member
 
Registered: Aug 2013
Location: Sweden
Distribution: Debian, Arch, Red Hat, CentOS
Posts: 773
Blog Entries: 3

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Why are you trying to install an old version of gcc?

The reason it is not available is because it is, err, not available for Ubuntu 15.10.

It seems as though you CAN install gcc 4.9 though:
https://launchpad.net/ubuntu/wily/+package/gcc-4.9

Best regards,
HMW
 
Old 05-04-2016, 02:49 AM   #3
james2408
LQ Newbie
 
Registered: May 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
as my softwares requirement is gcc 4.3

actually the installation is compatible with gcc-4.3 only and I dont want to use ubuntu 8.10 because further commands are not executing in ubuntu 8.10. So, please suggest me which ubuntu version would allow me to install gcc-4.3.

Thank you
 
Old 05-04-2016, 04:26 AM   #4
HMW
Member
 
Registered: Aug 2013
Location: Sweden
Distribution: Debian, Arch, Red Hat, CentOS
Posts: 773
Blog Entries: 3

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Quote:
Originally Posted by james2408 View Post
actually the installation is compatible with gcc-4.3 only and I dont want to use ubuntu 8.10 because further commands are not executing in ubuntu 8.10. So, please suggest me which ubuntu version would allow me to install gcc-4.3.

Thank you


I don't understand. Are you using Ubuntu 15.10 or 8.10? I hope it is not the latter because it is severely outdated.
 
Old 05-04-2016, 05:32 AM   #5
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Although there are caveats, you can have multiple versions of gcc on the same computer. Far better to do this than to remove the default gcc on a system - it is a very important component of any system.

However, if you just want to set up a mini not very up-to-date system to run one program, and can live with the fact that it will be full of security holes, then fair enough. You can find out which versions of the major software each Ubuntu version supports here: http://distrowatch.com/table.php?distribution=ubuntu
 
Old 05-05-2016, 05:15 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The default compilers for Ubuntu 15.10 are :
gcc-4.7, gcc-4.8, gcc-4.9, gcc-5
... where gcc-5 = gcc-5.2.1 is the system compiler.

There are some extra compilers available : gcc-3.4/g++-3.4 , gcc-4.1/g++-4.1 .

? Which version of Ubuntu 15.10 ?
This command will reply with arch : $ uname -m

? Which software is it you want build ?
( Older information about gcc-4.3 may not be valid for Ubuntu 15.10 ).


-
 
  


Reply



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
[SOLVED] Installing lower version of GCC in ubuntu newinubuntu Debian 7 01-15-2015 11:49 PM
Installing GCC 3.2 in Ubuntu 9.04 deneth Linux - Software 3 12-18-2009 06:01 AM
installing gcc 3.4 in ubuntu 8.4 charix Linux - Software 4 10-26-2009 01:46 PM
installing emacs and gcc in ubuntu without a network connection nunya_biniss Linux - Newbie 1 10-05-2007 02:41 PM
installing gcc 3.3.6 on Ubuntu 6.10 enzom83 Linux - Software 1 12-29-2006 11:00 AM

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

All times are GMT -5. The time now is 05:20 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
Open Source Consulting | Domain Registration