Install on
Ubuntu 22.04 LTS (Jammy Jellyfish)
Follow these steps to install InvenTree from the 1.4.x 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/1.4.x/installer/ubuntu/22.04.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/1.4.x/installer/ubuntu/22.04.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.0-1782276434.0a9a8b1.ubuntu22 | amd64 | 81.2 MB | 2 days ago | .deb |