Version 6.3 still required

Asked by Eric Brown

Version 6.3 of gcc/g++ are still required for the latest version of the immensely popular software suite Matlab. Is there any way to install version 6.3 (not the latest 6.4) on Ubuntu 17.10?

From the changelog, this is the version likely required:

gcc-6 (6.3.0-21ubuntu1) artful; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

Thank you very much for your help.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gcc-6 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1
Revision history for this message
Eric Brown (eberic) said :
#2

That ppa is not for artful

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

You can search the PPAs for one that supports Artful.....

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4
Revision history for this message
Eric Brown (eberic) said :
#5

Thanks again for your help. Unfortunately it does not look like the PPAs include gcc 6.3 for 17.10 artful--probably because it was recently available directly from Ubuntu, and 6.4 is still available, which in most cases is preferred over 6.3.

Do you know if it is possible to get old versions of the official binaries that once were part of the Ubuntu package? I.e. is it possible to download from anywhere the compile 6.3 that used to be available but was superseded by 6.4?

Revision history for this message
Eric Brown (eberic) said :
#6
Revision history for this message
Manfred Hampl (m-hampl) said :
#7

It should be possible to do a manual installation of these older packages.
You have to take care of:
- you have to make sure that all your packages from gcc-6 fit together, that is you have to replace all packages (e.g. gcc-6, cpp-6 and gcc-6 have to have identical version numbers)
- this is a downgrade, probably requiring additional flags for the install command (e.g. dpkg --force-downgrade ...)
- you have to pin that version then, or it would be overwritten by the newer version with the next run of updates
- you might have to downgrade or uninstall other packages that depend on gcc-6 version 6.4 or higher

Can you help with this problem?

Provide an answer of your own, or ask Eric Brown for more information if necessary.

To post a message you must log in.