[csw-users] Installing OpenCSW via pkgutil, and to /usr/local?
victorhooi at yahoo.com
Wed Jul 27 06:15:15 CEST 2011
just a suggestion ... you may ask your sysadmins if they'd be kind enough to
> create a symlink for you. having done that, /opt/csw could easily be located
> at /usr/local/csw, and things may work as designed while still keeping your
> sysadmins happy.
I just asked them, and they said they'd have to check - they sounded quite
reluctant to do it *sigh*. Getting system changes or small things done here
can be quite painful.
If I can't get the symlink made, how painful will things be? I do understand
that the library have been linked with -R to set the runpath to /opt/csw.
It's a hack, but will setting PATH and LD_LIBRARY_PATH be enough?
And then, is it fine to just run pkgadd (instead of pkgutil) against the
packages? And if so, will the ordering be important? And where would I get
the list of ordering, if it's important?
On Wed, Jul 27, 2011 at 11:23, Victor Hooi <victorhooi at yahoo.com> wrote:
> I'm the person who asked the original question here:
> about using pkg-util and OpenCSW as non-root, due to a very locked-down
> environment. Thanks to Peter and Ben for their replies =).
> I've asked again, and we can install packages (or rather, the sysadmins can
> for us), but it will have to be to /usr/local (internal rule), and not
> Also, I'm not sure whether we could get pkg-util installed, I think it will
> be more we give them a directory with packages, and they just run pkgadd on
> all of them.
> I just want to check if there are any issues with this approach.
> Firstly, is there any functional difference with using pkg-util and
> pkg-add? I have OpenSolaris installed locally in a VM - I was simply going
> to run pkg-util to install everything, get the list of packages from there
> (suggestions?), then download all of those into a directory to give to the
> And secondly - will there be issues if they relocate the packages from
> /opt/csw to /usr/local (internal rule, unfortunately). Anything we need to
> Finally, are there any issues with the order of installation? Normally,
> pkg-util would take care of dependency tracking and ordering here, but we're
> going with pkgadd. Should I give the sysadmins a particular order to install
> in, and if so, how would I go about getting that order via pkg-util on my
> local Solaris VM?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users