How can i install different versions of the same hpkg package?

How can i install different versions of the same hpkg package?
For example, I installed a V1 version of the commercial software I purchased, and now this commercial software has released a new version, I would like to try the new version without uninstalling the old version, so how can i install different versions of the same hpkg package?

Put one in system/packages and the other in home/packages.

but I use Pkgman software installed from Haikuports repo to automatically install to System/packages

Drag and drop the old pkg from system into home

Yes, you can do this, but if I install the HPKG package through Pkgman install from some repo,How to Operate?

  • pkgmain install --home mc
2 Likes

I never tried this. Do we have then double entries in the menu?

I just tried it and it seems that pkgman doesn’t let you install a package that is already installed.
So you can only do it manually.

This is my thinking on it too. But installing manual would be the same.

iirc is the package hirachy that if you install in home/…Packages this packege will be the active one. If you remove this package the system one us active

Is this a purely academical question?
I wonder, because our packages being completely self-contained and un/installed in seconds, what speaks against moving the old package out of /system/packages/ and moving the new one in?
And vice-versa if you decide the new version doesn’t work for you.

Perhaps there are two applications that use the same dependency, yet are only compatible with two different versions of that dependency? That’s about the only practical reason I can think of.

Then the compatibility designation of that dependency or the differing requirements of the packages depending on it is wrong and needs fixing, I’d say.