Installing from a Linux distribution is not recommended in any case.
Some distributions have very old versions of LedgerSMB. These old distributions only exist to support existing users that have not yet upgraded to a more recent version of LedgerSMB.
With recent LedgerSMB improvements, the LedgerSMB code structure no longer adheres to the distribution’s guidelines. The consequence is that LedgerSMB distributions are no longer updated or maintained.