sisl / tufte_algorithms_book

A template for textbooks in the same style as Algorithms for Optimization
350 stars 66 forks source link

install instruction for julia packages (jlpkg missing) #18

Open teuben opened 4 years ago

teuben commented 4 years ago

my julia didn't come with jlpkg, so I could not issue the jlpkg --project=@. add $(cat REQUIRE | grep -v julia) command. Yes, I know, I can also install jlpkg...

For those not immediately famliar with with julia's internal (REPL) method, do:

using Pkg Pkg.add("Colors")

(and all other packages listed in the REQUIRE file.

I'm not a julia expert yet, but I noticed this installs them in my private ~/,julia tree, not benefiting others that use the new system installed version of julia.

johnnychen94 commented 4 years ago

I noticed this installs them in my private ~/,julia tree, not benefiting others that use the new system installed version of julia.

This is a common case for all Julia packages. You can refer to https://discourse.julialang.org/t/how-does-one-set-up-a-centralized-julia-installation/13922/10 for how to set up a centralized Julia package system; just be care about write-permission.