How to install package dependencies for unregistered package

I’m not quite following you here. Creating the registry and registering the packages would fall entirely on you and not involve students at all.

When you have the packages registered you get the dependency management for free from the package manager. The setup scenario would be

  • Install Julia.
  • Start Julia.
  • Run the following (or equivalent commands in Pkg REPL mode):
using Pkg
pkg"registry add General https://url.to/your/registry.git"
pkg"add YourUserFacingPackage"
2 Likes