Full Julia 1.0 Env

Install Julia packages and deps.

apt-get update > /dev/null
apt-get install -y --no-install-recommends unzip patch imagemagick \
  build-essential cmake autotools-dev autoconf \
  libxt6 libxrender1 libgl1-mesa-glx libqt5widgets5 `# for GR` \
  libhttp-parser2.7.1 # for PlotlyJS
apt-get clean
rm -r /var/lib/apt/lists/* # Clear package list so it isn't stale
julia -E 'using Pkg

pkg"update"
pkg"add DataFrames CSV"
pkg"add HTTP Blink WebIO GR PlotlyJS#master Plots"
pkg"add ImageMagick"'
julia -E 'using Pkg; pkg"precompile"'

Install static build of FFmpeg for making animations.

wget --progress=dot:giga \
  https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz
tar -Jxf ffmpeg-release-64bit-static.tar.xz

IDIR="/usr/local/ffmpeg"
mv ffmpeg-4.0.2-64bit-static $IDIR
for ex in $IDIR/{ffmpeg,ffmpeg-10bit,ffprobe}; do
  ln -s $ex /usr/local/bin/
done

rm *.xz
© 2018 Nextjournal GmbH