News for hackers. Stuff that matters.
Re:Qpm: A package manager for Qt by curt15 on Monday April 11, 2016 @08:51AM (#11471122)
Do any system package managers support per-user installations, or are they designed mainly to install to system directories? Pip for example has the option to install packages into the user's home directory, which allows for easy cleanup. If developers want to experiment with a library for a project, they might not want everything chucked into /usr/ and made part of the system.
Re:Qpm: A package manager for Qt by saulrh on Monday April 11, 2016 @09:20AM (#11471241)
This is actually why I immediately discard use of the system package manager. One library version set per OS installation means that I can't run two things on the same machine unless I get really lucky with dependency versioning. Now the only way to get things done is to spin up one virtual machine per project, and completely setting up a new development environment per project is a huge pain in the ass that can only be optimized so far.

nix/guix is a sort of reasonable answer to this issue, I guess, but then you have to develop on nix/guix and hope that apt/rpm/pacman can handle your dependencies.

Re:Qpm: A package manager for Qt by mordocai on Monday April 11, 2016 @11:02AM (#11471952)
At least for guix, you can install it on top of any distribution and use it instead of the system package managers. I had some troubles with this when I did it, but nothing deal breaking and it isn't 1.0 yet so I imagine some of it will be cleaned up.
Re:Qpm: A package manager for Qt by davexunit on Monday April 11, 2016 @01:12PM (#11473214)
GNU Guix[0] supports unprivileged package management, among other features [1]. Each user may maintain one or more "profiles" containing whichever packages they'd like. On top of that, they have access to a universal virtualenv-like tool called "guix environment"[2] that can create arbitrary software environments for development or even just to do one-off experiments. It can even create containers for maximal development environment purity.

[0] https://gnu.org/s/guix

[1] http://www.gnu.org/software/guix/manual/html_node/Features.h...

[2] http://www.gnu.org/software/guix/manual/html_node/Invoking-g...

Re:Qpm: A package manager for Qt by regularfry on Monday April 11, 2016 @01:27PM (#11473388)
Generally the purpose of a system package manager is to install packages for the system. I think the GP's assumption was that the context is "how do I set up a system whose primary purpose is deployment of X", not "how do I write X on a system whose primary purpose is development".

Then again, I've had good mileage out of making .debs that plonk dev work and deps into /opt locally. YMMV.

Re:Qpm: A package manager for Qt by gkya on Monday April 11, 2016 @09:33AM (#11471323)
FreeBSD ports and pkg allow you to set the installation base, with $LOCALBASE and $PREFIX (I guess other BSDs do too). Also AFAIK Guix. And BSD systems use /etc and /bin and /usr/bin for OS stuff, and /usr/local for packages. Even the config files go to /usr/local/bin/etc (NetBSD same, but in /usr/pkg).