Difference between revisions of "Julia"

From NixOS Wiki
Jump to: navigation, search
(stylistic, rewording)
m
 
(12 intermediate revisions by 3 users not shown)
Line 2: Line 2:
  
 
== 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.
  
'''tl;dr''' Use the <code>julia_17-bin</code> package.
+
== 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].
The  <code>julia_17-bin</code> package does not show up in the search, but it works.
 
 
 
There are a number of other <code>julia*</code> attributes, but most of them are broken. [https://github.com/NixOS/nixpkgs/issues/123394 Work] is ongoing to add macOS support.
 
* -stable packages are for Julia LTS versions, which are very old at this point. I believe 1.0-ish. You probably want something more recent.
 
* -bin packages are not built from source directly, but are instead built off of the official binaries released by Julia. Building Julia from source has proven to be quite a nightmare, so the -bin packages take the easy route. From the end-user perspective, -bin packages should be indistinguishable from source built ones.
 
  
 +
Most notably, Julia Plots does not work. You can use [http://gadflyjl.org/stable/ Gadfly] instead.
 
[[Category:Applications]]
 
[[Category:Applications]]
 
[[Category:Languages]]
 
[[Category:Languages]]

Latest revision as of 12:08, 6 April 2024

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<\code> (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.