Put*_*kha 5 command-line scripts software-installation csh
我需要在 Linux 中安装 f2c。鉴于步骤;
下载安装脚本:下载install_f2c_linux.csh。
运行安装脚本
# chmod +x install_f2c_linux.csh
# ./install_f2c_linux.csh
Run Code Online (Sandbox Code Playgroud)我在根目录和用户目录中运行第二步。但是,它说
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.
Run Code Online (Sandbox Code Playgroud)
如何解决问题?
FORTRAN 77 到 C/C++ 的转换器已经作为f2cpackage打包在 Ubuntu 存储库中。
您可以使用以下命令安装它:
sudo add-apt-repository universe
sudo apt-get update
sudo apt-get install f2c
Run Code Online (Sandbox Code Playgroud)
注意:养成新的好习惯 - 在尝试手动编译某些东西之前,请访问http://packages.ubuntu.com并在此处搜索所需的应用程序。
| 归档时间: |
|
| 查看次数: |
1166 次 |
| 最近记录: |