How To Install julia on Fedora 34

julia is High-level, high-performance dynamic language for technical computing High-level, high-performance dynamic language for technical computing

Introduction

In this tutorial we learn how to install julia on Fedora 34.

What is julia

Julia is a high-level, high-performance dynamic programming language for technical computing, with syntax that is familiar to users of other technical computing environments. It provides a sophisticated compiler, distributed parallel execution, numerical accuracy, and an extensive mathematical function library. The library, largely written in Julia itself, also integrates mature, best-of-breed C and Fortran libraries for linear algebra, random number generation, signal processing, and string processing. This package only contains the essential parts of the Julia environment the julia executable and the standard library. julia 1.6.1 1.fc34 x86_64 40 M julia-1.6.1-1.fc34.src.rpm updates High-level, high-performance dynamic language for technical computing http MIT and LGPLv2+ and GPLv2+ Julia is a high-level, high-performance dynamic programming language for technical computing, with syntax that is familiar to users of other technical computing environments. It provides a sophisticated compiler, distributed parallel execution, numerical accuracy, and an extensive mathematical function library. The library, largely written in Julia itself, also integrates mature, best-of-breed C and Fortran libraries for linear algebra, random number generation, signal processing, and string processing. This package only contains the essential parts of the Julia environment the julia executable and the standard library.

We can use yum or dnf to install julia on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install julia.

Install julia on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install julia using dnf by running the following command:

sudo dnf -y install julia

Install julia on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install julia using yum by running the following command:

sudo yum -y install julia

How To Uninstall julia on Fedora 34

To uninstall only the julia package we can use the following command:

sudo dnf remove julia

julia Package Contents on Fedora 34

/usr/bin/julia
/usr/lib/.build-id
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/7364aae5d7d3b0ae50fb745d211b31e32e56b2
/usr/lib/.build-id/32
/usr/lib/.build-id/32/a5581b2bc77eefd5733a05622feaabd372c875
/usr/lib/.build-id/61
/usr/lib/.build-id/61/e043dc4dded4e84b2b3e2deefda54256a743cb
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/157a0415a78ffee896b8c3d0c73c79be82b68f
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/8153e76013c93ef20a471ba79b48c8b1fd47d9
/usr/lib/.build-id/af
/usr/lib/.build-id/af/e51f405e0f3db6b5345f90c89868a7dfc86032
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/397c2eacebd41c72e1f0e63a1ef929a4d4a99b
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/29889957896bc3fd85e23276cb37861c7e35d5
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/e7d2ec64d5dece69b6759897ebe6fe05882ce4
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/8a6fd675c8c9c93e430fa90c64fc995982a4ed
/usr/lib/julia
/usr/lib/julia/libLLVM-11jl.so
/usr/lib/julia/libLLVM.so
/usr/lib/julia/libamd.so
/usr/lib/julia/libatomic.so.1
/usr/lib/julia/libcamd.so
/usr/lib/julia/libccalltest.so
/usr/lib/julia/libccolamd.so
/usr/lib/julia/libcholmod.so
/usr/lib/julia/libcolamd.so
/usr/lib/julia/libcurl.so
/usr/lib/julia/libdSFMT.so
/usr/lib/julia/libgcc_s.so.1
/usr/lib/julia/libgfortran.so.5
/usr/lib/julia/libgit2.so
/usr/lib/julia/libgmp.so
/usr/lib/julia/libgomp.so.1
/usr/lib/julia/libjulia-internal.so
/usr/lib/julia/libjulia-internal.so.1
/usr/lib/julia/libjulia-internal.so.1.6
/usr/lib/julia/libjulia.so
/usr/lib/julia/libllvmcalltest.so
/usr/lib/julia/libmbedcrypto.so
/usr/lib/julia/libmbedtls.so
/usr/lib/julia/libmbedx509.so
/usr/lib/julia/libmpfr.so
/usr/lib/julia/libnghttp2.so
/usr/lib/julia/libopenblas.so
/usr/lib/julia/libopenblas.so.0
/usr/lib/julia/libopenlibm.so
/usr/lib/julia/libpcre2-8.so
/usr/lib/julia/libquadmath.so.0
/usr/lib/julia/libspqr.so
/usr/lib/julia/libssh2.so
/usr/lib/julia/libstdc++.so.6
/usr/lib/julia/libsuitesparse_wrapper.so
/usr/lib/julia/libsuitesparseconfig.so
/usr/lib/julia/libumfpack.so
/usr/lib/julia/libuv.so
/usr/lib/julia/libuv.so.2
/usr/lib/julia/libuv.so.2.0.0
/usr/lib/julia/sys.so
/usr/lib/libjulia.so.1
/usr/lib/libjulia.so.1.6
/usr/share/appdata/julia.appdata.xml
/usr/share/applications/julia.desktop
/usr/share/doc/julia
/usr/share/doc/julia/CONTRIBUTING.md
/usr/share/doc/julia/LICENSE.md
/usr/share/doc/julia/NEWS.md
/usr/share/doc/julia/README.md
/usr/share/icons/hicolor/16x16/apps/julia.png
/usr/share/icons/hicolor/24x24/apps/julia.png
/usr/share/icons/hicolor/256x256/apps/julia.png
/usr/share/icons/hicolor/32x32/apps/julia.png
/usr/share/icons/hicolor/48x48/apps/julia.png
/usr/share/icons/hicolor/scalable/apps/julia.svg
/usr/share/man/man1/julia.1.gz
/usr/bin/julia
/usr/lib/.build-id
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/9167dbdd05c59b19e286e70a0c9099748df902
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/8738a5647f7b0981e1478124eba58434c0d270
/usr/lib/.build-id/21
/usr/lib/.build-id/21/ccaac6469d8c10d7105d7305af671787184ceb
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/f9a227776b7a1c768f004f77361bc698c7214a
/usr/lib/.build-id/50
/usr/lib/.build-id/50/5fb0b3cd842a77cbae3ed8e144c8aa1602bf2a
/usr/lib/.build-id/54
/usr/lib/.build-id/54/0f884da2ffd5b43d1bee3b2177bc63bde19f27
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/20553450e36356e7940fed9664810fc26007a1
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/56521e1f9926aa1ff2fb32ce62c11c3ee8e6ba
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/c59c2fb2a1681a67152cde06748e6c2bc4bfa8
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/ee04b90f53bdf9061aa33ebec0e24b2aa64681
/usr/lib/julia
/usr/lib/julia/libLLVM-11jl.so
/usr/lib/julia/libLLVM.so
/usr/lib/julia/libamd.so
/usr/lib/julia/libcamd.so
/usr/lib/julia/libccalltest.so
/usr/lib/julia/libccolamd.so
/usr/lib/julia/libcholmod.so
/usr/lib/julia/libcolamd.so
/usr/lib/julia/libcurl.so
/usr/lib/julia/libdSFMT.so
/usr/lib/julia/libgcc_s.so.1
/usr/lib/julia/libgit2.so
/usr/lib/julia/libgmp.so
/usr/lib/julia/libjulia-internal.so
/usr/lib/julia/libjulia-internal.so.1
/usr/lib/julia/libjulia-internal.so.1.6
/usr/lib/julia/libjulia.so
/usr/lib/julia/libllvmcalltest.so
/usr/lib/julia/libmbedcrypto.so
/usr/lib/julia/libmbedtls.so
/usr/lib/julia/libmbedx509.so
/usr/lib/julia/libmpfr.so
/usr/lib/julia/libnghttp2.so
/usr/lib/julia/libopenblas.so
/usr/lib/julia/libopenblas.so.0
/usr/lib/julia/libopenlibm.so
/usr/lib/julia/libpcre2-8.so
/usr/lib/julia/libspqr.so
/usr/lib/julia/libssh2.so
/usr/lib/julia/libsuitesparse_wrapper.so
/usr/lib/julia/libsuitesparseconfig.so
/usr/lib/julia/libumfpack.so
/usr/lib/julia/libuv.so
/usr/lib/julia/libuv.so.2
/usr/lib/julia/libuv.so.2.0.0
/usr/lib/julia/sys.so
/usr/lib/libjulia.so.1
/usr/lib/libjulia.so.1.6
/usr/share/appdata/julia.appdata.xml
/usr/share/applications/julia.desktop
/usr/share/doc/julia
/usr/share/doc/julia/CONTRIBUTING.md
/usr/share/doc/julia/LICENSE.md
/usr/share/doc/julia/NEWS.md
/usr/share/doc/julia/README.md
/usr/share/icons/hicolor/16x16/apps/julia.png
/usr/share/icons/hicolor/24x24/apps/julia.png
/usr/share/icons/hicolor/256x256/apps/julia.png
/usr/share/icons/hicolor/32x32/apps/julia.png
/usr/share/icons/hicolor/48x48/apps/julia.png
/usr/share/icons/hicolor/scalable/apps/julia.svg
/usr/share/man/man1/julia.1.gz
/usr/bin/julia
/usr/lib/.build-id
/usr/lib/.build-id/18
/usr/lib/.build-id/18/0e3573ab2e2ffd593e711fb53fabd687a06901
/usr/lib/.build-id/29
/usr/lib/.build-id/29/e8f9de74a2cd815bfea3da53544d91751bb2e6
/usr/lib/.build-id/85
/usr/lib/.build-id/85/ebef00e3eb50a61ef1b08d88c2e05979d768b5
/usr/lib/.build-id/98
/usr/lib/.build-id/98/37c968365c1814aea29323c16a8dd8556bf57f
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/2052658b2f8a2dd5241277c543083c59035fc1
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/f8fb9616939b3759b3790b74ecbe57e1c51d70
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/d1f1982e6c9183ddf3fac22595b027c1751aed
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/ace1fc26640e3fad12f5d34eae8bf2cb3b321c
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/c231b53a8baf32506e51c47cdca08a8c036890
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/50dfce8d9c6e535720163d7b2483b6e8150de1
/usr/lib64/julia
/usr/lib64/julia/libLLVM-11jl.so
/usr/lib64/julia/libLLVM.so
/usr/lib64/julia/libamd.so
/usr/lib64/julia/libatomic.so.1
/usr/lib64/julia/libbtf.so
/usr/lib64/julia/libcamd.so
/usr/lib64/julia/libccalltest.so
/usr/lib64/julia/libccolamd.so
/usr/lib64/julia/libcholmod.so
/usr/lib64/julia/libcolamd.so
/usr/lib64/julia/libcurl.so
/usr/lib64/julia/libdSFMT.so
/usr/lib64/julia/libgcc_s.so.1
/usr/lib64/julia/libgfortran.so.5
/usr/lib64/julia/libgit2.so
/usr/lib64/julia/libgmp.so
/usr/lib64/julia/libgomp.so.1
/usr/lib64/julia/libjulia-internal.so
/usr/lib64/julia/libjulia-internal.so.1
/usr/lib64/julia/libjulia-internal.so.1.6
/usr/lib64/julia/libjulia.so
/usr/lib64/julia/libklu.so
/usr/lib64/julia/libldl.so
/usr/lib64/julia/libllvmcalltest.so
/usr/lib64/julia/libmbedcrypto.so
/usr/lib64/julia/libmbedtls.so
/usr/lib64/julia/libmbedx509.so
/usr/lib64/julia/libmpfr.so
/usr/lib64/julia/libnghttp2.so
/usr/lib64/julia/libopenblas64_.so
/usr/lib64/julia/libopenblas64_.so.0
/usr/lib64/julia/libopenlibm.so
/usr/lib64/julia/libpcre2-8.so
/usr/lib64/julia/libquadmath.so.0
/usr/lib64/julia/librbio.so
/usr/lib64/julia/libspqr.so
/usr/lib64/julia/libssh2.so
/usr/lib64/julia/libstdc++.so.6
/usr/lib64/julia/libsuitesparse_wrapper.so
/usr/lib64/julia/libsuitesparseconfig.so
/usr/lib64/julia/libumfpack.so
/usr/lib64/julia/libuv.so
/usr/lib64/julia/libuv.so.2
/usr/lib64/julia/libuv.so.2.0.0
/usr/lib64/julia/sys.so
/usr/lib64/libjulia.so.1
/usr/lib64/libjulia.so.1.6
/usr/share/appdata/julia.appdata.xml
/usr/share/applications/julia.desktop
/usr/share/doc/julia
/usr/share/doc/julia/CONTRIBUTING.md
/usr/share/doc/julia/LICENSE.md
/usr/share/doc/julia/NEWS.md
/usr/share/doc/julia/README.md
/usr/share/icons/hicolor/16x16/apps/julia.png
/usr/share/icons/hicolor/24x24/apps/julia.png
/usr/share/icons/hicolor/256x256/apps/julia.png
/usr/share/icons/hicolor/32x32/apps/julia.png
/usr/share/icons/hicolor/48x48/apps/julia.png
/usr/share/icons/hicolor/scalable/apps/julia.svg
/usr/share/man/man1/julia.1.gz
/usr/bin/julia
/usr/lib/.build-id
/usr/lib/.build-id/28
/usr/lib/.build-id/28/cc09cd4744f12460741d5d7533eb71c6fa04f7
/usr/lib/.build-id/31
/usr/lib/.build-id/31/fa27e4d2bfb77c38045bdf7062a2c51596d9b9
/usr/lib/.build-id/38
/usr/lib/.build-id/38/2637126cde3ab9f0746f54ac29c40cdf4cbdc4
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/4a1309af9eda6e6c9967a8f4adec3c81ad1a0a
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/ad580a140048c061cf2c432cf2562f619b71f9
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/0983e14c7f0ee80032be95bad2e5fcb2982f26
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/623972f8f27fd6fb2344af65d54b55468320ca
/usr/lib/.build-id/df
/usr/lib/.build-id/df/8867ed7d20216163bdba81c8691e59bc7cd87c
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/7b775d230bd8f7c054329d2ae8942c98402e6d
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/20bce5bca120d504032b69c727cd51dbfee4aa
/usr/lib64/julia
/usr/lib64/julia/libLLVM-11jl.so
/usr/lib64/julia/libLLVM.so
/usr/lib64/julia/libamd.so
/usr/lib64/julia/libbtf.so
/usr/lib64/julia/libcamd.so
/usr/lib64/julia/libccalltest.so
/usr/lib64/julia/libccolamd.so
/usr/lib64/julia/libcholmod.so
/usr/lib64/julia/libcolamd.so
/usr/lib64/julia/libcurl.so
/usr/lib64/julia/libdSFMT.so
/usr/lib64/julia/libgcc_s.so.1
/usr/lib64/julia/libgit2.so
/usr/lib64/julia/libgmp.so
/usr/lib64/julia/libjulia-internal.so
/usr/lib64/julia/libjulia-internal.so.1
/usr/lib64/julia/libjulia-internal.so.1.6
/usr/lib64/julia/libjulia.so
/usr/lib64/julia/libklu.so
/usr/lib64/julia/libldl.so
/usr/lib64/julia/libllvmcalltest.so
/usr/lib64/julia/libmbedcrypto.so
/usr/lib64/julia/libmbedtls.so
/usr/lib64/julia/libmbedx509.so
/usr/lib64/julia/libmpfr.so
/usr/lib64/julia/libnghttp2.so
/usr/lib64/julia/libopenblas64_.so
/usr/lib64/julia/libopenblas64_.so.0
/usr/lib64/julia/libopenlibm.so
/usr/lib64/julia/libpcre2-8.so
/usr/lib64/julia/librbio.so
/usr/lib64/julia/libspqr.so
/usr/lib64/julia/libssh2.so
/usr/lib64/julia/libsuitesparse_wrapper.so
/usr/lib64/julia/libsuitesparseconfig.so
/usr/lib64/julia/libumfpack.so
/usr/lib64/julia/libuv.so
/usr/lib64/julia/libuv.so.2
/usr/lib64/julia/libuv.so.2.0.0
/usr/lib64/julia/sys.so
/usr/lib64/libjulia.so.1
/usr/lib64/libjulia.so.1.6
/usr/share/appdata/julia.appdata.xml
/usr/share/applications/julia.desktop
/usr/share/doc/julia
/usr/share/doc/julia/CONTRIBUTING.md
/usr/share/doc/julia/LICENSE.md
/usr/share/doc/julia/NEWS.md
/usr/share/doc/julia/README.md
/usr/share/icons/hicolor/16x16/apps/julia.png
/usr/share/icons/hicolor/24x24/apps/julia.png
/usr/share/icons/hicolor/256x256/apps/julia.png
/usr/share/icons/hicolor/32x32/apps/julia.png
/usr/share/icons/hicolor/48x48/apps/julia.png
/usr/share/icons/hicolor/scalable/apps/julia.svg
/usr/share/man/man1/julia.1.gz

References

Summary

In this tutorial we learn how to install julia on Fedora 34 using yum and dnf.