November 2017
Beginner
316 pages
6h 40m
English
Julia's package manager is declarative and intelligent. You only have to tell it what you want and it will figure out which version to install and resolve dependencies if there are any.
We can use Pkg.add(package_name) to add packages and Pkg.rm(package_name) to remove packages. This is the recommended way.
Otherwise, we can add the list of requirements that we want and it resolves which packages and their versions to install. The ~/.julia/v0.5/REQUIRE file contains the package requirements. We can open it using a text editor such as vi or atom, or use the Pkg.edit() function in Julia's shell to edit this file:
$ cat ~/.julia/v0.5/REQUIREIJulia ScikitLearn RDatasets Plots UnicodePlots PyPlot PlotlyJS
After editing ...
Read now
Unlock full access