How To Install JuliaLang on CentOS 7
To Install JuliaLang on CentOS 7
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. It is so simple to install JuliaLang on CentOS7 and this tutorial covers the ground on the same process.
Installing JuliaLang
First, you need to ensure that your system is up-to-date, and for that you need to use the following command.
[root@linuxhelp ~]# yum clean all
Loaded plugins: fastestmirror, langpacks
Cleaning repos: base extras updates
Cleaning up everything
Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos
Cleaning up list of fastest mirrors
And then you need to run the following command.
[root@linuxhelp ~]# yum -y install epel-release
Loaded plugins: fastestmirror, langpacks
base | 3.6 kB 00:00:00
extras | 3.4 kB 00:00:00
updates | 3.4 kB 00:00:00
(1/4): extras/7/x86_64/primary_db | 166 kB 00:00:02
(2/4): base/7/x86_64/group_gz | 156 kB 00:00:04
.
.
Updating : epel-release-7-11.noarch 1/2
Cleanup : epel-release-7-9.noarch 2/2
Verifying : epel-release-7-11.noarch 1/2
Verifying : epel-release-7-9.noarch 2/2
Updated:
epel-release.noarch 0:7-11
Complete!
You should now install the required packages by making use of the following command.
[root@linuxhelp ~]# yum-config-manager --add-repo https://copr.fedorainfracloud.org/coprs/nalimilan/julia/repo/epel-7/nalimilan-julia-epel-7.repo
Loaded plugins: fastestmirror, langpacks
adding repo from: https://copr.fedorainfracloud.org/coprs/nalimilan/julia/repo/epel-7/nalimilan-julia-epel-7.repo
grabbing file https://copr.fedorainfracloud.org/coprs/nalimilan/julia/repo/epel-7/nalimilan-julia-epel-7.repo to /etc/yum.repos.d/nalimilan-julia-epel-7.repo
repo saved to /etc/yum.repos.d/nalimilan-julia-epel-7.repo
You shall now proceed with the installation of Julia by making use of the following command.
[root@linuxhelp ~]# yum install julia
Loaded plugins: fastestmirror, langpacks
nalimilan-julia | 3.0 kB 00:00:00
nalimilan-julia/x86_64/primary_db | 37 kB 00:00:02
Loading mirror speeds from cached hostfile
* base: mirrors.vonline.vn
* epel: mirror2.totbb.net
* extras: centos-hcm.viettelidc.com.vn
* updates: mirrors.vinahost.vn
Resolving Dependencies
--> Running transaction check
.
.
Installed:
julia.x86_64 0:0.6.2-1.el7.centos
Dependency Installed:
arpack.x86_64 0:3.1.3-2.el7 atlas.x86_64 0:3.10.1-12.el7 dSFMT.x86_64 0:2.2.3-4.el7.centos
git.x86_64 0:1.8.3.1-12.el7_4 julia-common.noarch 0:0.6.2-1.el7.centos julia-devel.x86_64 0:0.6.2-1.el7.centos
libgfortran.x86_64 0:4.8.5-16.el7_4.1 libquadmath.x86_64 0:4.8.5-16.el7_4.1 llvm3.9-libs.x86_64 0:3.9.1-7.el7
openblas-threads.x86_64 0:0.2.20-3.el7 openlibm.x86_64 0:0.5.3-1.el7 openspecfun.x86_64 0:0.5.3-1.el7
perl-Error.noarch 1:0.17020-2.el7 perl-Git.noarch 0:1.8.3.1-12.el7_4 perl-TermReadKey.x86_64 0:2.30-20.el7
suitesparse.x86_64 0:4.4.5-2.el7.centos tbb.x86_64 0:4.1-9.20130314.el7
Once you are through with the installation, you shall check the version by making use of the following command.
[root@linuxhelp ~]# julia -version
julia version 0.6.2
With this, the tutorial to install JuliaLang comes to an end.
Comments ( 0 )
No comments available