Ref: https://julialang.org/downloads/
Download the latest binary for Ubuntu 22.04
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
satria@teddy:~$ curl -fsSL https://install.julialang.org | sh info: downloading installer Welcome to Julia! This will download and install the official Julia Language distribution and its version manager Juliaup. Juliaup will be installed into the Juliaup home directory, located at: /home/satria/.juliaup The julia, juliaup and other commands will be added to Juliaup's bin directory, located at: /home/satria/.juliaup/bin This path will then be added to your PATH environment variable by modifying the profile files located at: /home/satria/.bashrc /home/satria/.profile Julia will look for a new version of Juliaup itself every 1440 minutes when you start julia. You can uninstall at any time with juliaup self uninstall and these changes will be reverted. ✔ Do you want to install with these default configuration choices? · Proceed with installation Now installing Juliaup Installing Julia 1.10.3+0.x64.linux.gnu Configured the default Julia version to be 'release'. Julia was successfully installed on your system. Depending on which shell you are using, run one of the following commands to reload the PATH environment variable: . /home/satria/.bashrc . /home/satria/.profile |
Update the system
|
1 |
satria@teddy:~$ . /home/satria/.bashrc |
Check it out
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
satria@teddy:~$ juliaup The Julia Version Manager Usage: juliaup <COMMAND> Commands: default Set the default Julia version add Add a specific Julia version or channel to your system. Access via `julia +{channel}` e.g. `julia +1.6` link Link an existing Julia binary to a custom channel name list List all available channels override Manage directory overrides update Update all or a specific channel to the latest Julia version remove Remove a Julia version from your system status Show all installed Julia versions gc Garbage collect uninstalled Julia versions config Juliaup configuration self Manage this juliaup installation completions Generate tab-completion scripts for your shell help Print this message or the help of the given subcommand(s) Options: -h, --help Print help -V, --version Print version To launch a specific Julia version, use `julia +{channel}` e.g. `julia +1.6`. Entering just `julia` uses the default channel set via `juliaup default`. |