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://packages.openproject.com/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://packages.openproject.com/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://packages.openproject.com/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://packages.openproject.com/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