Install on Debian 12 (Bookworm)

Follow these steps to install InvenTree from the 1.3.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.3.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.3.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.3.6-1781819161.f3cc710.debian12 amd64 78.5 MB 1 month ago .deb
inventree 1.3.5-1781140911.d8cac9b.debian12 amd64 78.5 MB 1 month ago .deb
inventree 1.3.4-1780823702.0000ff0.debian12 amd64 78.5 MB 1 month ago .deb
inventree 1.3.3-1780001620.78527d3.debian12 amd64 78.5 MB 1 month ago .deb
inventree 1.3.2-1777975394.a60e85b.debian12 amd64 78.5 MB 2 months ago .deb
inventree 1.3.1-1777162404.7b63aa9.debian12 amd64 78.5 MB 3 months ago .deb
inventree 1.3.0-1775911106.b422372.debian12 amd64 78.6 MB 3 months ago .deb
inventree 1.3.0-1775910133.5aaf1cf.debian12 amd64 78.5 MB 3 months ago .deb