pkgsrc - keep dependencies separate

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

AveryFreeman

consummate homelabber
Mar 17, 2017
413
54
28
42
Near Seattle
averyfreeman.com
Dear OmniOS users,

I'm wondering how feasible it would be for me to install pkgsrc and keep all its dependencies separate in OmniOS 151030?

I keep finding myself needing packages that are not available in the omniosce repos. pkgsrc installs all its own dependencies into /opt/local

Is there a way to make sure that these are not adopted for use by the primary system, and only used for pkgsrc-installed programs?

Thank you
Avery
 

gea

Well-Known Member
Dec 31, 2010
3,157
1,195
113
DE
There is no dependency for any default OS service with /opt/local so this is pkgsrc only. I would only create a ZFS filesystem for /opt otherwise booting an older BE will reset all /opt files.