HakoDocs

HakoDocs

Posts (Latest 10 updated) :
Read all
Table of Contents:
  1. Julia
    1. Installation
  2. Breaking Bugs
  3. See also

Julia

Julia is a high-level, high-performance programming language designed for numerical computing and scientific applications. It combines the ease of use of languages like Python with the speed of compiled languages like C. Julia features just-in-time (JIT) compilation, making it highly efficient for mathematical operations, data analysis, and machine learning. It supports multiple dispatch, parallel computing, and seamless integration with Python, C, and Fortran.

Installation

For specific installation instructions, see the Julia Downloads Page. Generic installs can be done via

curl -fsSL https://install.julialang.org | sh

according to their manual.

Arch Linux

According to the Julia Arch Wiki Page we can install juliaup, the Julia version manager, from the AUR

yay -S juliaup

After the installation, run

julia

This will install the latest julia version available in juliaup. It is not necessary to add to PATH.

Breaking Bugs

Here is a list on workarounds for known bugs.

  • Stack Shared Object

As of Feb 23 2025, there is a problem that throws the following error when installing from juliaup from the AUR.

Installing Julia 1.11.3+0.x64.linux.gnu
ERROR: Unable to load dependent library /home/frieren/.julia/juliaup/julia-1.11.3+0.x64.linux.gnu/bin/../lib/julia/libopenlibm.so
Message:/home/frieren/.julia/juliaup/julia-1.11.3+0.x64.linux.gnu/bin/../lib/julia/libopenlibm.so: cannot enable executable stack as shared object requires: Invalid argument

This was first posted in the discourse and then generated an issue on the Julia repo.

To solve temporarily this problem, install

yay -S execstack

and run

execstack -c ~/.julia/juliaup/julia-1.11.3+0.x64.linux.gnu/lib/julia/libopenlibm.so

See also