This guide installs LedgerSMB on a self-hosted Linux server.
Install PostgreSQL, Perl, and your web server using your distribution package manager. This provides the runtime required by LedgerSMB.
Clone the repository or download a release archive.
git clone https://github.com/ledgersmb/ledgersmb.git
Set up the LedgerSMB configuration to point to your PostgreSQL database and define the application URL.
Use CPAN or your distribution packages to install required Perl modules. This step ensures LedgerSMB can run its backend code.
Create the database and run LedgerSMB’s setup process to initialize the schema and create the admin user.
See LedgerSMB Configuration for configuration guidance.
Prefer automation? See:
Prefer containers? See LedgerSMB Docker Setup.
Stuck on a step or need custom configuration? We provide paid consulting for Ledgersmb deployments, from basic setups to enterprise configurations.