Install on
Debian 12 (Bookworm)
Follow these steps to install InvenTree from the stable channel.
Prerequisites
- Root or sudo access
curlorwgetinstalled
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/stable/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/stable/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.4.2-1784172057.0cd4b66.debian12 | amd64 | 81.2 MB | 5 days ago | .deb |
| inventree | 1.4.1-1782910045.9793bba.debian12 | amd64 | 81.1 MB | 2 weeks ago | .deb |
| inventree | 1.4.0-1782276497.0a9a8b1.debian12 | amd64 | 81.2 MB | 3 weeks ago | .deb |
| inventree | 1.3.6-1781819227.f3cc710.debian12 | amd64 | 78.5 MB | 1 month ago | .deb |