Hello all,
I am often annoyed by all the dependencies pulled in by some large packages that I occasionally use. I basically want to install i.e chromium and all of its dependencies in i.e /opt/chromium and that way I can have different versions and can simply delete the directory when no longer needed.
So, on OpenBSD I put together a proof of concept (actually I have used it for a while now, I just recently cleaned up the scripts a little) to generate relocatable package bundles for pretty much anything with minor tweaks (few binary patches involving pledge or gtk plugins + environment variables). If you are interested, please have a look through the project page at how this works and can be used:
In short, the following would create a folder containing Chrome and all dependencies that you can move wherever you like and finally run it:
Don't think of it like flatpak, snaps or any of that weird Linux service stuff; think of it more as the traditional Mac OS approach where you could just simply drag and drop it to the Applications folder and that would be it; ready to go. Or at the very least Solaris style prefixes such as /opt/csw, /usr/sfw, /usr/X11R6, etc allowing different versions of packages in separate prefixes.
Now for the poll. How many people would find this useful on FreeBSD? I tend to use FreeBSD more for servers which has simpler packages compared to GUI stuff but I am actually very keen to see if the same process works on FreeBSD, including making a relocatable Xorg in i.e /opt/xorg.
Thanks (never run a poll before... exciting). If you specify "No", please do share your reasons. Or just everyone's general thoughts.
I am often annoyed by all the dependencies pulled in by some large packages that I occasionally use. I basically want to install i.e chromium and all of its dependencies in i.e /opt/chromium and that way I can have different versions and can simply delete the directory when no longer needed.
So, on OpenBSD I put together a proof of concept (actually I have used it for a while now, I just recently cleaned up the scripts a little) to generate relocatable package bundles for pretty much anything with minor tweaks (few binary patches involving pledge or gtk plugins + environment variables). If you are interested, please have a look through the project page at how this works and can be used:
GitHub - osen/pkg_bundle: Relocatable package bundles for OpenBSD
Relocatable package bundles for OpenBSD. Contribute to osen/pkg_bundle development by creating an account on GitHub.
github.com
In short, the following would create a folder containing Chrome and all dependencies that you can move wherever you like and finally run it:
Code:
$ pkg_bundle chromium
# cp -RP chromium /opt/chromium110
$ /opt/chromium/chromium
Don't think of it like flatpak, snaps or any of that weird Linux service stuff; think of it more as the traditional Mac OS approach where you could just simply drag and drop it to the Applications folder and that would be it; ready to go. Or at the very least Solaris style prefixes such as /opt/csw, /usr/sfw, /usr/X11R6, etc allowing different versions of packages in separate prefixes.
Now for the poll. How many people would find this useful on FreeBSD? I tend to use FreeBSD more for servers which has simpler packages compared to GUI stuff but I am actually very keen to see if the same process works on FreeBSD, including making a relocatable Xorg in i.e /opt/xorg.
Thanks (never run a poll before... exciting). If you specify "No", please do share your reasons. Or just everyone's general thoughts.