Should I install LedgerSMB modules in /usr/share or /usr/local?

Member for

4 years 5 months
Submitted by ehu on Wed, 11/14/2012 - 13:05

In general: neither. The advice is to have the full source tree in /opt/ledgersmb/<version>.

Installing the LedgerSMB modules in the standard Perl search path works, but interferes with running different versions side-by-side.

To undo installation in /usr/local:

  • remove /usr/local/share/perl/5.XX.X/LedgerSMB/
  • delete /usr/local/share/perl/5.XX.X/LedgerSMB.pm; and
  • find and remove the .pl files that come in LedgerSMB's project root directory and bin/ and LedgerSMB/Scripts/ directories.
Component
Base
FAQ Category

Member for

1 year 1 month

pbolger

Thu, 09/24/2015 - 21:22

Does this mean you shouldn't install in either of those directories? If not, where?

Hi Paul,

Thanks for the feedback. I've changed the wording of the FAQ item; hopefully it's less confusing now.

Regards,

Erik.