On a ubuntu 16.04,I downloaded julialang 1.0 binary package from
https://julialang.org/downloads/
,and extract it under:
/usr/local/julia
changed own and group to root,and added bin and lib to corresponded path:
#Julia
export JULIA_HOME=/usr/local/julia
export PATH=$JULIA_HOME/bin:$PATH
export LD_LIBRARY_PATH=$JULIA_HOME/lib:$LD_LIBRARY_PATH
then go to julia console to run:
Pkg.status()
got
ERROR: UndefVarError: Pkg not defined
anything I missed?
Pkg
is no longer loaded by default, so it needs to be loaded:
julia> using Pkg
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With