CentOS 7 Julia 0.6.4

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/weifengdq/article/details/86633183

Help students install Julia, named for Julia 0.6.4, he said that the adaptation SDDip, start Fedora not used, pit dancing, and later for Centos a little better, below the record about.

U disk to install Centos7

To a new computer apparatus Centos U disk, substantially official website to download centos iso image with Rufus the image writing U disk, the computer into the BIOS setup U disk, then balbala installation, the intermediate provided username and password, Root password, hook choose automatic partitioning, use of English, but also remember to check the installation of GNOME-Desktop, otherwise there is no graphical interface to connect to a network cable is more convenient, WiFi troublesome installation process may refer to:.. CentOS7 installation tutorial .

root

app or software install must enter root.
terminal enter root: $ su -
exit root: su - your-username

centos WiFi

https://blog.csdn.net/xiaoyu19910321/article/details/78504400

yum

app or software
update: yum update
install: yum install xxx

vscode

https://code.visualstudio.com/docs/setup/linux#_rhel-fedora-and-centos-based-distributions

sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'
su -
yum check-update
yum install code

centos update git

su -
yum install http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-1.noarch.rpm
yum install git
git --version

julia

julia 0.6.4 download: https://julialang.org/downloads/oldreleases.html

unzip to /home/yyp/Documents/
enter root: $ su -
add link: # ln -s /home/yyp/Documents/julia-9d11f62bcb/bin/julia /bin/julia
then in any terminal, open julia by enter julia

https://blog.csdn.net/mifangdebaise/article/details/81091026

sddip

https://blog.csdn.net/mifangdebaise/article/details/81091026
https://github.com/lkapelevich/SDDiP.jl
terminal enter julia: julia

julia> Pkg.init()
julia> Pkg.update()
julia> Pkg.clone("https://github.com/odow/SDDP.jl")
julia> Pkg.update()
julia> Pkg.clone("https://github.com/lkapelevich/SDDiP.jl")
julia> Pkg.update()

or julia> Pkg.add("SDDP")

sddip example

cd /home/your-username/.julia/v0.6/SDDiP/examples
julia all_blacks.jl

Pkg

julia
Pkg.init()
Pkg.update()
Pkg.clone("https://github.com/odow/SDDP.jl")
Pkg.build("Clp", "Rmath")

github

Could not resolve host: github.com
https://blog.csdn.net/zhenfengshisan/article/details/57566709
ping github.com
vi /etc/hosts
192.30.255.112 github.com

vscode extension

Julia
Code Runner
julia helloworld: https://juliabyexample.helpmanual.io/
Filename: hello_world.jl
println("hello world")
Run:julia hello_world.jl
If you install Code Runner extension in VSCode, you can click the triangle symbol to run.

Guess you like

Origin blog.csdn.net/weifengdq/article/details/86633183