Naming Convention for Debian Packages - UG1630

Kria SOM App Store Applications Developer Deployment Guide for Ubuntu (UG1630)

Document ID
UG1630
Release Date
2023-08-11
Revision
1.0 English

Application developers should follow the recommended naming convention when hosting packages on their server to avoid duplication and include necessary information.

<vendor>-<package_name>[-firmware]_<upstream_version>-<debian_revision>+<dist_codename>_<Architecture>.deb

Examples:

mycorp-my-app_1.0.1-1+focal_amd64.deb
mycorp-my-app-firmware_1.0.1-1+focal_amd64.deb
Vendor
Name of company generating the package. It has no special character, no space, only lower case: [a-z0-9]+.
package_name
<app_name>-<platform> Name describing the packaged software. It is important to include platform name especially for firmware packages as bitstreams are tightly coupled with target device. A string without special character or "." can include "-": [a-z0-9-]+.
Firmware
A suffix to apply only in case the app is for the PL part.
upstream_version
Version of the packaged software: Lowercase string without special except "." and "-" [a-z0-9.-]+.
debian_revision
Package revision, to increment (if required) to republish a package with the same upstream_version. 1 on the first package version, numbers only: [0-9]+.
dist_codename
The Linux distribution codename: example: 1.0.1-1+focal for ubuntu v20.04 or 1.0.1-1+bullseye for Debian 11. Lowercase letters only: [a-z]+.
Architecture
The package architecture. Example: "amd64", "all", ….