How to install gfortran 5 on Ubuntu 14.04
I want to install gfortran 5. As per how do I install gfortran, I tried
sudo apt-get install gfortran
but it installs 4.8.4 gfortran compiler. I searched and found this.
When I wrote,
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
it gives error
Cannot add PPA: 'ppa:ubuntu-toolchain-r/test'.
Please check that the PPA name or format is correct.
I am not expert in linux or ubuntu so just searched ways on internet, but no luck so far. On this webpage, it prompts a download link, but I have no clue how to install that package.
Update:
As per above link of ubuntu package gfortran-5, I installed synaptic package, but it doesn't find gfortran-5.
Does anyone know workarounds?
apt software-installation ppa synaptic
add a comment |
I want to install gfortran 5. As per how do I install gfortran, I tried
sudo apt-get install gfortran
but it installs 4.8.4 gfortran compiler. I searched and found this.
When I wrote,
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
it gives error
Cannot add PPA: 'ppa:ubuntu-toolchain-r/test'.
Please check that the PPA name or format is correct.
I am not expert in linux or ubuntu so just searched ways on internet, but no luck so far. On this webpage, it prompts a download link, but I have no clue how to install that package.
Update:
As per above link of ubuntu package gfortran-5, I installed synaptic package, but it doesn't find gfortran-5.
Does anyone know workarounds?
apt software-installation ppa synaptic
Have you tried to add the PPA manually?
– Mostafa Ahangarha
May 9 '16 at 17:24
add a comment |
I want to install gfortran 5. As per how do I install gfortran, I tried
sudo apt-get install gfortran
but it installs 4.8.4 gfortran compiler. I searched and found this.
When I wrote,
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
it gives error
Cannot add PPA: 'ppa:ubuntu-toolchain-r/test'.
Please check that the PPA name or format is correct.
I am not expert in linux or ubuntu so just searched ways on internet, but no luck so far. On this webpage, it prompts a download link, but I have no clue how to install that package.
Update:
As per above link of ubuntu package gfortran-5, I installed synaptic package, but it doesn't find gfortran-5.
Does anyone know workarounds?
apt software-installation ppa synaptic
I want to install gfortran 5. As per how do I install gfortran, I tried
sudo apt-get install gfortran
but it installs 4.8.4 gfortran compiler. I searched and found this.
When I wrote,
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
it gives error
Cannot add PPA: 'ppa:ubuntu-toolchain-r/test'.
Please check that the PPA name or format is correct.
I am not expert in linux or ubuntu so just searched ways on internet, but no luck so far. On this webpage, it prompts a download link, but I have no clue how to install that package.
Update:
As per above link of ubuntu package gfortran-5, I installed synaptic package, but it doesn't find gfortran-5.
Does anyone know workarounds?
apt software-installation ppa synaptic
apt software-installation ppa synaptic
edited Apr 13 '17 at 12:24
Community♦
1
1
asked May 8 '16 at 17:24
rtryher344rtryher344
613
613
Have you tried to add the PPA manually?
– Mostafa Ahangarha
May 9 '16 at 17:24
add a comment |
Have you tried to add the PPA manually?
– Mostafa Ahangarha
May 9 '16 at 17:24
Have you tried to add the PPA manually?
– Mostafa Ahangarha
May 9 '16 at 17:24
Have you tried to add the PPA manually?
– Mostafa Ahangarha
May 9 '16 at 17:24
add a comment |
1 Answer
1
active
oldest
votes
gfortran-5 is not currently available for Ubuntu 14.04 "Trusty". There are however packages available for 16.04 "Xenial" and later. If you must have Version 5 and can't get by with version 4.8 which is the latest currently available in the repositories for Trusty, You have some options.
A) Upgrade your installation to 16.04 LTS which will be supported for 2 years longer than your current installation.
B) Attempt to compile from source
Personally I would consider approach A to have the best chance of success.
Sources:
http://packages.ubuntu.com/search?keywords=gfortran&searchon=names
https://launchpad.net/+search?field.text=gfortran-5
https://gcc.gnu.org/wiki/GFortranBinaries#FromSource
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f769406%2fhow-to-install-gfortran-5-on-ubuntu-14-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
gfortran-5 is not currently available for Ubuntu 14.04 "Trusty". There are however packages available for 16.04 "Xenial" and later. If you must have Version 5 and can't get by with version 4.8 which is the latest currently available in the repositories for Trusty, You have some options.
A) Upgrade your installation to 16.04 LTS which will be supported for 2 years longer than your current installation.
B) Attempt to compile from source
Personally I would consider approach A to have the best chance of success.
Sources:
http://packages.ubuntu.com/search?keywords=gfortran&searchon=names
https://launchpad.net/+search?field.text=gfortran-5
https://gcc.gnu.org/wiki/GFortranBinaries#FromSource
add a comment |
gfortran-5 is not currently available for Ubuntu 14.04 "Trusty". There are however packages available for 16.04 "Xenial" and later. If you must have Version 5 and can't get by with version 4.8 which is the latest currently available in the repositories for Trusty, You have some options.
A) Upgrade your installation to 16.04 LTS which will be supported for 2 years longer than your current installation.
B) Attempt to compile from source
Personally I would consider approach A to have the best chance of success.
Sources:
http://packages.ubuntu.com/search?keywords=gfortran&searchon=names
https://launchpad.net/+search?field.text=gfortran-5
https://gcc.gnu.org/wiki/GFortranBinaries#FromSource
add a comment |
gfortran-5 is not currently available for Ubuntu 14.04 "Trusty". There are however packages available for 16.04 "Xenial" and later. If you must have Version 5 and can't get by with version 4.8 which is the latest currently available in the repositories for Trusty, You have some options.
A) Upgrade your installation to 16.04 LTS which will be supported for 2 years longer than your current installation.
B) Attempt to compile from source
Personally I would consider approach A to have the best chance of success.
Sources:
http://packages.ubuntu.com/search?keywords=gfortran&searchon=names
https://launchpad.net/+search?field.text=gfortran-5
https://gcc.gnu.org/wiki/GFortranBinaries#FromSource
gfortran-5 is not currently available for Ubuntu 14.04 "Trusty". There are however packages available for 16.04 "Xenial" and later. If you must have Version 5 and can't get by with version 4.8 which is the latest currently available in the repositories for Trusty, You have some options.
A) Upgrade your installation to 16.04 LTS which will be supported for 2 years longer than your current installation.
B) Attempt to compile from source
Personally I would consider approach A to have the best chance of success.
Sources:
http://packages.ubuntu.com/search?keywords=gfortran&searchon=names
https://launchpad.net/+search?field.text=gfortran-5
https://gcc.gnu.org/wiki/GFortranBinaries#FromSource
answered Feb 23 '17 at 15:11
Elder GeekElder Geek
27.4k955130
27.4k955130
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f769406%2fhow-to-install-gfortran-5-on-ubuntu-14-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Have you tried to add the PPA manually?
– Mostafa Ahangarha
May 9 '16 at 17:24