Package management in Julia

To see a list of installed packages, we use the Pkg.status() function, as shown:

To save space, only the first several lines are shown. Alternatively, we can issue Pkg.installed(), which returns a dictionary, mapping installed package names to the versions of those which are installed, as shown here:

To add or remove a package, we apply the Pkg.add() and Pkg.rm() functions, as shown in this example:

Julia>Pkg.add("AbstractTable") Julia>Pkg.rm("AbstractTable")

To get all the latest versions, we issue the following ...

Get Hands-On Data Science with Anaconda now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.