Julia#设置国内浙大,中科大镜像站(set Chinese Mirrors of package for Julia v 1.1.0)

we accept that you have installed Julia v 1.1.0 on your operate-system already.
in the console, we firstly go into pkg-manager by ‘]’
then

(v1.1) pkg> add PkgMirrors

let us back to the console, and then

julia> import PkgMirrors
julia> PkgMirrors.availables()

there will show information below

2-element Array{String,1}:
 "ZJU" 
 "USTC"

i have try the “USTC” mirror, and it leaves me a bad impression so that i will choose ‘‘ZJU’’ to demonstrate for this time. (p.s. ZJU approximately has turned wrong recently

julia> PkgMirrors.setmirror("ZJU")
julia> import PkgMirrors

so we should go to package manager to update

(v1.1) pkg> update

okey, now we finish all the processions.
if you want to change your mirror, just repeat from the step “setmirror”.

你可能感兴趣的:(Julia)