Skip to content

abelsiqueira/jill

Repository files navigation

jill - Julia Installer 4 Linux - Light

GitHub Workflow Status DOI GitHub release (latest by date)

Julia 1.10.3 Julia 1.6.7 Julia 1.10.0-rc3

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.

Quick version - Install latest stable linux

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.

More options - Download jill.sh

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 and JULIA_INSTALL=/usr/local/bin if you have root permission (e.g. called with sudo).
  • JULIA_DOWNLOAD=$HOME/packages/julias and JULIA_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 (uses jq to query the versions from julialang.org).
  • -u M.m, --upgrade M.m: Copy environment from M.m version (e.g. -u 1.6)
  • -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.

LICENSE

This script is licensed under the GNU GPLv3 (see LICENSE.md). This dosn't affect your Julia usage at all.