Julia light installer for Linux.
On Linux, the best way to install Julia is to use the Generic Linux Binaries. And while all Linux users love manually downloading, unpacking, and linking their software, this script does it for you.
Simply run
sudo bash -ci "$(curl -fsSL https://raw.githubusercontent.com/abelsiqueira/jill/main/jill.sh)"
Sudo is optional. If you prefer to not use it, make sure to add $HOME/.local/bin
to your PATH
.
Either download the jill.sh script, e.g.
wget https://raw.githubusercontent.com/abelsiqueira/jill/main/jill.sh
or
curl -fsSL https://raw.githubusercontent.com/abelsiqueira/jill/main/jill.sh > jill.sh
or clone the full repo (for instance, if you had SSL issues as in #32):
git clone https://github.com/abelsiqueira/jill
You can use the script via bash jill.sh
or make it executable using chmod a+x jill.sh
. We'll use the former version here.
Usage:
bash jill.sh [options]
If no options are given, this will install the latest stable Julia.
The .tar.gz and unpacked folder will be kept on the environment variable JULIA_DOWNLOAD
, and the julia
executable will be linked in JULIA_INSTALL
.
By default, we use
JULIA_DOWNLOAD=/opt/julias
andJULIA_INSTALL=/usr/local/bin
if you have root permission (e.g. called withsudo
).JULIA_DOWNLOAD=$HOME/packages/julias
andJULIA_INSTALL=$HOME/.local/bin
otherwise.
The following options are avaiable:
-h, --help
: Show a help.--lts
: Install the Long Term Support version (Currently 1.6.7).--rc
: Install the latest release candidate (usesjq
to query the versions from julialang.org).-u OLD, --upgrade OLD
: Copy the environment from OLD version.-v VER, --version VER
: Install julia version VER. Valid examples: 1.5.4, 1.5-latest, 1.5.0-rc1.-y, --yes, --no-confirm
: Skip confirmation.
This script is licensed under the GNU GPLv3 (see LICENSE.md). This dosn't affect your Julia usage at all.