In this tutorial, we will show you how to install JuliaLang on your CentOS 7 server. For those of you who didn’t know, For those of you who didn’t know, Julia, commonly called JuliaLang, is a programming language for numerical computing. Julia is as fast as C but it doesn’t forfeit the readability. Therefore, we can decrease the running time of our programs in addition to the evolution time.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo
‘ to the commands to get root privileges. I will show you the step-by-step installation of the JuliaLang on a CentOS 7 server.
Prerequisites
- A server running one of the following operating systems: CentOS 7 or RHEL-baesd.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- SSH access to the server (or just open Terminal if you’re on a desktop).
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
Install JuliaLang on CentOS 7
Step 1. First, let’s start by ensuring your system is up-to-date.
yum clean all yum -y install epel-release yum -y update
Step 2. Installing Required Packages.
Install the necessary packages:
yum-config-manager --add-repo https://copr.fedorainfracloud.org/coprs/nalimilan/julia/repo/epel-7/nalimilan-julia-epel-7.repo
Step 3. Installing JuliaLang on CentOS 7.
Now run the following command below to install the latest version of Julia to your CentOS 7 system:
yum install julia
New versions are built every night. If you have already installed JuliaLang and you want to upgrade to the latest version, do:
yum upgrade julia
Verify JuliaLang:
Type ./julia –version in the command prompt and the output should look like this:
julia version 0.6.0
Congratulations! You have successfully installed JuliaLang. Thanks for using this tutorial for installing JuliaLang on CentOS 7 systems. For additional help or useful information, we recommend you to check the official JuliaLang website.