Jump to content

Julia: Difference between revisions

From NixOS Wiki
imported>MikiVanousek
Suggest Distrobox as a solution.
Klinger (talk | contribs)
m better link to language (link was to older version of docs)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[https://docs.julialang.org/en/v1.7/ Julia] is a programming language, that aims to create an unprecedented combination of ease-of-use, power, and efficiency in a single language.
[https://julialang.org/ Julia] is a programming language, that aims to create an unprecedented combination of ease-of-use, power, and efficiency in a single language.


== Installation And Versions ==
== Installation And Versions ==
You can install the newest version of Julia either with <code>julia-bin</code> (the derivation which downloads the binary) or <code>julia<\code> (the derivation which builds Julia from the source). From the end-user perspective, -bin packages should be indistinguishable from source-built ones.
You can install the newest version of Julia either with <code>julia-bin</code> (the derivation which downloads the binary) or <code>julia</code> (the derivation which builds Julia from the source). From the end-user perspective, -bin packages should be indistinguishable from source-built ones.


== Packages ==
== Packages ==
Some Julia packages expect binaries to be installed on your system. Until a better solution is found, you can run Julia inside [https://nixos.wiki/wiki/Distrobox Distrobox].
Some Julia packages expect binaries to be installed on your system. Until a better solution is found, you can run Julia inside [[Distrobox]].


Most notably, Julia Plots does not work. You can use [http://gadflyjl.org/stable/ Gadfly] instead.
Most notably, Julia Plots does not work. You can use [http://gadflyjl.org/stable/ Gadfly] instead.
[[Category:Applications]]
 
Another solution is to enable [https://github.com/nix-community/nix-ld nix-ld], see also [https://nix.dev/guides/faq#how-to-run-non-nix-executables here].
 
[[Category:Languages]]
[[Category:Languages]]

Latest revision as of 15:46, 25 March 2025

Julia is a programming language, that aims to create an unprecedented combination of ease-of-use, power, and efficiency in a single language.

Installation And Versions

You can install the newest version of Julia either with julia-bin (the derivation which downloads the binary) or julia (the derivation which builds Julia from the source). From the end-user perspective, -bin packages should be indistinguishable from source-built ones.

Packages

Some Julia packages expect binaries to be installed on your system. Until a better solution is found, you can run Julia inside Distrobox.

Most notably, Julia Plots does not work. You can use Gadfly instead.

Another solution is to enable nix-ld, see also here.