Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is the ROOT environment variable honored for install and upgrading?

0
Posted

Is the ROOT environment variable honored for install and upgrading?

0

Yes, if you have been using ROOT with installpkg and upgradepkg, slapt-get will modify where it looks for the package logs based on this environment variable. For example export ROOT=/home/keary/newroot would make slapt-get look in /home/keary/newroot/var/log/packages for installed package information and install all upgraded/new packages in /home/keary/newroot instead of / All calls to installpkg, removepkg, and upgradepkg will be passed along this environment variable. See the installpkg(8) manpage. NOTE: Be sure to run ldconfig -r $ROOT to ensure appropriate library links are built.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123