-
Notifications
You must be signed in to change notification settings - Fork 470
pkg: installation of packages that can be used system-wide #12107
Description
AFAIU, we intend dune pkg to eventually be a self-sufficient alternative to opam for the package management needs of ocaml users and developers.
As an ocaml user, I want to
- Fire up the ocaml top level in random terminals to try out bits of code.
- Install generally useful ocaml software and use it on my system for different tasks. E.g., unison, atd, or camels.
And as an ocaml developer, I want to
- Write useful utilities that others can install easily thru our default package manager, without having to create packages for every distribution my intended users happen to be using.
AFAIK, there is currently no way to do this with dune pkg. So if I want to, e.g., run utop, I either have to CD into some project using dune pkg or -- using the opam I thankfully have in stalled -- run opam exec utop.
Every package manager I have used and am aware of enables some way of installing packages that allows them to be used system-wide, and I assume we will want and need this functionality in dune pkg as well.
I have discussed this with a few people over the last while, including @emillon, @maiste, and @Sudha247, but I was not able to find an existing issues to track this need.