How to run a csh script to install f2c?
Clash Royale CLAN TAG#URR8PPP
up vote
3
down vote
favorite
I need to install f2c in Linux. Given the steps;
Download installation script : Download
install_f2c_linux.csh
.Run installation script
# chmod +x install_f2c_linux.csh
# ./install_f2c_linux.csh
I run the second step in the root and user directory. But, it says
curl: Command not found.
tar: f2c.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
gunzip: No match.
f2c: No such file or directory.
How to solve the problem?
command-line software-installation scripts csh
New contributor
Puteri Intan Zulaikha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
up vote
3
down vote
favorite
I need to install f2c in Linux. Given the steps;
Download installation script : Download
install_f2c_linux.csh
.Run installation script
# chmod +x install_f2c_linux.csh
# ./install_f2c_linux.csh
I run the second step in the root and user directory. But, it says
curl: Command not found.
tar: f2c.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
gunzip: No match.
f2c: No such file or directory.
How to solve the problem?
command-line software-installation scripts csh
New contributor
Puteri Intan Zulaikha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I need to install f2c in Linux. Given the steps;
Download installation script : Download
install_f2c_linux.csh
.Run installation script
# chmod +x install_f2c_linux.csh
# ./install_f2c_linux.csh
I run the second step in the root and user directory. But, it says
curl: Command not found.
tar: f2c.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
gunzip: No match.
f2c: No such file or directory.
How to solve the problem?
command-line software-installation scripts csh
New contributor
Puteri Intan Zulaikha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I need to install f2c in Linux. Given the steps;
Download installation script : Download
install_f2c_linux.csh
.Run installation script
# chmod +x install_f2c_linux.csh
# ./install_f2c_linux.csh
I run the second step in the root and user directory. But, it says
curl: Command not found.
tar: f2c.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
gunzip: No match.
f2c: No such file or directory.
How to solve the problem?
command-line software-installation scripts csh
command-line software-installation scripts csh
New contributor
Puteri Intan Zulaikha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Puteri Intan Zulaikha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 10 mins ago
Melebius
3,81241636
3,81241636
New contributor
Puteri Intan Zulaikha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 26 mins ago


Puteri Intan Zulaikha
161
161
New contributor
Puteri Intan Zulaikha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Puteri Intan Zulaikha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Puteri Intan Zulaikha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
add a comment |Â
3 Answers
3
active
oldest
votes
up vote
5
down vote
FORTRAN 77 to C/C++ translator is already packaged in Ubuntu repositories as f2c
package.
You can install it with:
sudo add-apt-repository universe
sudo apt-get update
sudo apt-get install f2c
Note: develop new good habit - before trying to compile something manually visit http://packages.ubuntu.com and search for needed application here.
it works! thank you.
– Puteri Intan Zulaikha
1 min ago
add a comment |Â
up vote
2
down vote
You have to install curl:
sudo apt install curl
But it is better to use the Ubuntu rep and install with:
sudo apt-get install f2c
as NOrbert posted.
add a comment |Â
up vote
-2
down vote
cURL is trying to download the .tar from http://netlib.sandia.gov/cgi-bin/netlib/netlibfiles.tar?filename=netlib/f2c
but it's not finding it.
You can get around this by downloading it manually from the URL above to f2c.tar and editing the csh script to remove the cURL line.
1
cURL is probably not trying becausecurl: Command not found.
– Melebius
16 mins ago
@Melebius My bad. Missed that line.
– Lewis Smith
8 mins ago
add a comment |Â
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
5
down vote
FORTRAN 77 to C/C++ translator is already packaged in Ubuntu repositories as f2c
package.
You can install it with:
sudo add-apt-repository universe
sudo apt-get update
sudo apt-get install f2c
Note: develop new good habit - before trying to compile something manually visit http://packages.ubuntu.com and search for needed application here.
it works! thank you.
– Puteri Intan Zulaikha
1 min ago
add a comment |Â
up vote
5
down vote
FORTRAN 77 to C/C++ translator is already packaged in Ubuntu repositories as f2c
package.
You can install it with:
sudo add-apt-repository universe
sudo apt-get update
sudo apt-get install f2c
Note: develop new good habit - before trying to compile something manually visit http://packages.ubuntu.com and search for needed application here.
it works! thank you.
– Puteri Intan Zulaikha
1 min ago
add a comment |Â
up vote
5
down vote
up vote
5
down vote
FORTRAN 77 to C/C++ translator is already packaged in Ubuntu repositories as f2c
package.
You can install it with:
sudo add-apt-repository universe
sudo apt-get update
sudo apt-get install f2c
Note: develop new good habit - before trying to compile something manually visit http://packages.ubuntu.com and search for needed application here.
FORTRAN 77 to C/C++ translator is already packaged in Ubuntu repositories as f2c
package.
You can install it with:
sudo add-apt-repository universe
sudo apt-get update
sudo apt-get install f2c
Note: develop new good habit - before trying to compile something manually visit http://packages.ubuntu.com and search for needed application here.
answered 21 mins ago
N0rbert
16.2k33275
16.2k33275
it works! thank you.
– Puteri Intan Zulaikha
1 min ago
add a comment |Â
it works! thank you.
– Puteri Intan Zulaikha
1 min ago
it works! thank you.
– Puteri Intan Zulaikha
1 min ago
it works! thank you.
– Puteri Intan Zulaikha
1 min ago
add a comment |Â
up vote
2
down vote
You have to install curl:
sudo apt install curl
But it is better to use the Ubuntu rep and install with:
sudo apt-get install f2c
as NOrbert posted.
add a comment |Â
up vote
2
down vote
You have to install curl:
sudo apt install curl
But it is better to use the Ubuntu rep and install with:
sudo apt-get install f2c
as NOrbert posted.
add a comment |Â
up vote
2
down vote
up vote
2
down vote
You have to install curl:
sudo apt install curl
But it is better to use the Ubuntu rep and install with:
sudo apt-get install f2c
as NOrbert posted.
You have to install curl:
sudo apt install curl
But it is better to use the Ubuntu rep and install with:
sudo apt-get install f2c
as NOrbert posted.
edited 11 mins ago
answered 16 mins ago


abu_bua
2,20531021
2,20531021
add a comment |Â
add a comment |Â
up vote
-2
down vote
cURL is trying to download the .tar from http://netlib.sandia.gov/cgi-bin/netlib/netlibfiles.tar?filename=netlib/f2c
but it's not finding it.
You can get around this by downloading it manually from the URL above to f2c.tar and editing the csh script to remove the cURL line.
1
cURL is probably not trying becausecurl: Command not found.
– Melebius
16 mins ago
@Melebius My bad. Missed that line.
– Lewis Smith
8 mins ago
add a comment |Â
up vote
-2
down vote
cURL is trying to download the .tar from http://netlib.sandia.gov/cgi-bin/netlib/netlibfiles.tar?filename=netlib/f2c
but it's not finding it.
You can get around this by downloading it manually from the URL above to f2c.tar and editing the csh script to remove the cURL line.
1
cURL is probably not trying becausecurl: Command not found.
– Melebius
16 mins ago
@Melebius My bad. Missed that line.
– Lewis Smith
8 mins ago
add a comment |Â
up vote
-2
down vote
up vote
-2
down vote
cURL is trying to download the .tar from http://netlib.sandia.gov/cgi-bin/netlib/netlibfiles.tar?filename=netlib/f2c
but it's not finding it.
You can get around this by downloading it manually from the URL above to f2c.tar and editing the csh script to remove the cURL line.
cURL is trying to download the .tar from http://netlib.sandia.gov/cgi-bin/netlib/netlibfiles.tar?filename=netlib/f2c
but it's not finding it.
You can get around this by downloading it manually from the URL above to f2c.tar and editing the csh script to remove the cURL line.
answered 21 mins ago
Lewis Smith
275
275
1
cURL is probably not trying becausecurl: Command not found.
– Melebius
16 mins ago
@Melebius My bad. Missed that line.
– Lewis Smith
8 mins ago
add a comment |Â
1
cURL is probably not trying becausecurl: Command not found.
– Melebius
16 mins ago
@Melebius My bad. Missed that line.
– Lewis Smith
8 mins ago
1
1
cURL is probably not trying because
curl: Command not found.
– Melebius
16 mins ago
cURL is probably not trying because
curl: Command not found.
– Melebius
16 mins ago
@Melebius My bad. Missed that line.
– Lewis Smith
8 mins ago
@Melebius My bad. Missed that line.
– Lewis Smith
8 mins ago
add a comment |Â
Puteri Intan Zulaikha is a new contributor. Be nice, and check out our Code of Conduct.
Puteri Intan Zulaikha is a new contributor. Be nice, and check out our Code of Conduct.
Puteri Intan Zulaikha is a new contributor. Be nice, and check out our Code of Conduct.
Puteri Intan Zulaikha is a new contributor. Be nice, and check out our Code of Conduct.
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1077151%2fhow-to-run-a-csh-script-to-install-f2c%23new-answer', 'question_page');
);
Post as a guest
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
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
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