favicon here hometagsblog

Juliaup is the next generation version manager for Julia



Soc Virnyl Estela | 2023-05-16 | reading time: ~3min

The Julia programming language has gained more improvements over the years. The latest version as of writing is 1.9.0 - one of the biggest improvements of Julia in the 1.x series. Hoping more to come!

What is Juliaup?§

juliaup is a version manager for Julia much like pyenv or rbenv. It's functionality closely aligns with rustup.

If you want to know more, check out their github repository at https://github.com/JuliaLang/juliaup.

Why should you use Juliaup?§

The usual way of downloading release binaries at the official website is not really much of a hassle. However, downloading different versions of Julia can take more time to browse around.

There are two version managers for Julia: jill.py and juliaup.

As you may have noticed, jill.py is a python script that installs Julia and juliaup is written in Rust. I cannot compare their differences as I never tried the former. I suggest you try either one of them.

Installing a Julia release channel in juliaup is quite easy. To check available channels, you run juliaup list. To add a channel, say 1.5.0, you run juilaup add 1.5.1. To make a channel the default, you run juliaup default 1.5.0.

For me, you should use juliaup since it includes features such as the ability to run a version (as long as it is added) using their own Julia caller called julialauncher. You can symlink or alias that as julia. For example, if you want to run version 1.6.0, you can do so by running julialauncher +1.6.0 or julia +1.6.0.

There is plan in the future releases to make a duplicate launcher of julialauncher that is called julia. I do believe it will just add more confusion though. I just symlink it instead. But that is because juliaup has not been hosted yet on crates.io. See issue #639.

Anything to improve?§

I think a feature I want to have in juliaup is this one - https://github.com/JuliaLang/juliaup/issues/10. I do think that the idea of having juliaup.toml in the root directory of a project is convenient. Rust does that with rust-toolchain.toml. But again, it is up to debate because there were some issues of maybe duplicating the functionality of Project.toml and Manifest.toml and selecting the version inside those two configuration files mitigates that issue rather than using juliaup.toml. The workaround for now is to use the JULIAUP_CHANNEL environmental variable with direnv or whatever env "manipulation" tool you use.

Again, if you want to explore juliaup, you can do so by checking first the repository at https://github.com/JuliaLang/juliaup.

If you use openSUSE, just run sudo zypper in juliaup and you are good to go.

Articles from blogs I follow around the net

Perma-Vuln: D-Link DIR-859, CVE-2024-0769

Recently Sift caught an interesting payload. As it turns out, the exploit was CVE-2024-0769, which is now tagged here: D-Link DIR-859 Information Disclosure Attempt . This vulnerability is a path traversal leading to information disclosure. But, perhaps mo…

via GreyNoise LabsJune 25, 2024

Synergy Greg

Synergy Greg would like to see you in His office, it is the one down the hall, past the cubicles and dreary faces, uplifted only when He deigns to venture forth. You will know Him when you see Him, He is the one composed, of a thousand writhing forms,…

via LudicityJune 22, 2024

Status update, June 2024

Hi all! This status update will be shorter than usual because I had a lot less free time for my open-source projects than usual this month. Indeed, I recently joined SNCF Réseau (the company responsible for the French railway infrastructure) to work on OSR…

via emersionJune 18, 2024

Why People are Angry over Go 1.23 Iterators

NOTE: This is based on, but completely rewritten, from a Twitter post: https://x.com/TheGingerBill/status/1802645945642799423 TL;DR It makes Go feel too “functional” rather than being an unabashed imperative language. I recently saw a post on Twitter showi…

via Articles on gingerBillJune 17, 2024

My RSS feed has been upgraded ✨

I did some integration work to include posts written for other publications in my RSS feed. Apologies if you see some duplicated items! 📪

via Rob O'LearyJune 15, 2024

Programming at the edge with Fastly Compute

So you’ve heard about computing at the edge, and you’ve heard that Fastly let’s you run JavaScript, Go, Rust and any other language that compiles to Wasm at the edge… well, let’s take a look and while we’re at it let’s try and understand how caching works …

via Posts on integralistJune 12, 2024

Generated by openring-rs