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?
FORTRAN 77 to C/C++ translator is already packaged in Ubuntu repositories as
f2c
package.You can install it with:
Note: develop new good habit - before trying to compile something manually visit http://packages.ubuntu.com and search for needed application here.
You have to install curl:
But it is better to use the Ubuntu rep and install with:
as N0rbert posted.