Install on Debian 12 (Bookworm)

Follow these steps to install InvenTree from the 1.2.x channel.

Prerequisites

Installation Steps

1. Import the repository GPG key

sudo curl -fsSL 'https://go.packager.io/srv/deb/inventree/InvenTree/gpg-key.gpg' \
  -o '/usr/share/keyrings/InvenTree.gpg'

Alternative: Using the ASCII-armored key (requires gnupg)

If you prefer to use the ASCII-armored key format or need to verify the key manually:

curl -fsSL 'https://go.packager.io/srv/deb/inventree/InvenTree/gpg-key.asc' \
  | gpg --dearmor \
  | sudo tee '/usr/share/keyrings/InvenTree.gpg' > /dev/null

2. Download the repository configuration

sudo curl -fsSL \
  'https://go.packager.io/srv/inventree/InvenTree/1.2.x/installer/debian/12.list' \
  -o '/etc/apt/sources.list.d/InvenTree.list'

Or using wget:

sudo wget \
  -O '/etc/apt/sources.list.d/InvenTree.list' \
  'https://go.packager.io/srv/inventree/InvenTree/1.2.x/installer/debian/12.list'

3. Update package index

sudo apt update

4. Install packages

sudo apt install PACKAGE_NAME

Verification

Verify the repository is configured correctly:

apt-cache policy

Available packages

Package Version code Arch Size Built Format
inventree 1.2.4a11-1771782977.180aa12.debian12 amd64 78.0 MB 9 months ago .deb
inventree 1.2.4a9-1771780520.2eda30e.debian12 amd64 78.0 MB 9 months ago .deb