木曜日, 10月 23, 2014

Fedora20でgfortranをインストール

実家でFedora20をインストールした時は
gfortranがインストールされていたけど、
家のPCにインストールしたら入っていなかったので
手動でインストール。

https://ask.fedoraproject.org/en/question/38123/gfortran-in-fedora-20/
に記述されている
http://mirror.i3d.net/pub/fedora/linux/releases/20/Everything/x86_64/os/Packages/g/gcc-gfortran-4.8.2-1.fc20.x86_64.rpm
をダウンロード。

http://www.atmarkit.co.jp/flinux/rensai/linuxtips/049instrpm.html
に記述されているように
rpm -ivh gcc-gfortran-4.8.2-1.fc20.x86_64.rpm
を実行。

libquadmath-devel = 4.8.2-1.fc20 は gcc-gfortran-4.8.2-1.fc20.x86_64 に必要とされています。
というメッセージが出てインストールが進まない場合は、
https://ask.fedoraproject.org/en/question/39398/package-dependency-error/
に記述されているように
yum install libquadmath-devel libquadmath libgomp libgfortran gcc libstdc++ cpp
yum update
を実行。

0 件のコメント: