Debian9.3でのJuliaインストールについてメモ。
バージョン確認:
bash
cat /etc/debian_version
9.3
aptでインストール可能なJuliaは記事執筆時点で v0.4.7 と少々古い.
bash
apt search julia|grep julia
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
julia/stable 0.4.7-6+b3 amd64
julia-common/stable 0.4.7-6 all
julia-doc/stable 0.4.7-6 all
libdatetime-calendar-julian-perl/stable 0.04-1 all
そこで、
公式: https://julialang.org/downloads/ からNightly builds版バイナリをDL、
Debian9.3へインストールする。
/tmp へ移動,DLして展開 -> /opt へ移動 -> シンボリックリンク作成 の3工程.
bash
cd /tmp
wget https://julialangnightlies-s3.julialang.org/bin/linux/x64/julia-latest-linux64.tar.gz
tar zxvf julia-latest-linux64.tar.gz
su
mv julia-cce56c8797 /opt/julia
ln -s /opt/julia/bin/julia /usr/local/bin/julia
exit
julia
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: https://docs.julialang.org
_ _ _| |_ __ _ | Type "?help" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.7.0-DEV.3328 (2018-01-08 08:15 UTC)
_/ |\__'_|_|_|\__'_| | Commit cce56c8797 (0 days old master)
|__/ | x86_64-pc-linux-gnu
julia>
これで出来た(ヽ'ω`)