I use pkg-create(8) to build a package file, and then pkg-install(8) it into place, which you can do to any dir as non-root, e.g. INSTALL_AS_USER=yes REPOS_DIR=/dev/null pkg -r ~ install -y -U myfile.pkg
This is nice because it's not symlinking, you can upgrade / uninstall and not leave files behind, etc. In my repo that builds this, I have tasks to install packages to a temp dir location, use that as my home, so I can try it out before installing it into place.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.