aims-install-julia 788 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

cd /srv
wget https://julialang-s3.julialang.org/bin/linux/x64/1.6/julia-1.6.1-linux-x86_64.tar.gz
wget https://julialang-s3.julialang.org/bin/linux/x64/1.6/julia-1.6.1-linux-x86_64.tar.gz.asc
wget https://julialang.org/assets/juliareleases.asc
gpg --import juliareleases.asc
gpg --verify julia-1.6.1-linux-x86_64.tar.gz.asc julia-1.6.1-linux-x86_64.tar.gz || exit
rm -f juliareleases.asc julia-1.6.1-linux-x86_64.tar.gz.asc
tar xf julia-1.6.1-linux-x86_64.tar.gz && rm -f julia-1.6.1-linux-x86_64.tar.gz
mkdir -p /usr/local/share/applications
chmod 755 /usr/local/share/applications
ln -s /srv/julia-1.6.1/share/applications/julia.desktop /usr/local/share/applications/
Jan Groenewald's avatar
Jan Groenewald committed
14
ln -s /srv/julia-1.6.1/bin/julia /usr/local/bin/
15
16
update-desktop-database /usr/local/share/applications/