Skip to main content

Installation

Note: The commands below download from the master branch. If the repository has been updated to use main or another default branch, adjust the URL accordingly.

Directory Setup

In production environments, the Knowledge Base (KB) is typically stored on a dedicated disk or logical volume. Create your KB directory as follows:
Note: Replace user with the username that will run the SCANOSS Engine.
Create a symbolic link from the default LDB path (/var/lib/ldb) to your KB directory:
The subdirectories (purl, url, file, wfp) are created automatically during the KB import process — you do not need to create them manually.

Verify Installation

Run the following command to confirm LDB is installed correctly:
You should see the following output:
To exit the LDB session, run: