example-deb-package
Simple program as example debian package
Debian package naming
package-name
is the name of our package,hello-world
in our case,version
is the version of the software,0.0.1
in our case,release-number
is used to track different releases of the same software version; it’s usually set to1
, but hypothetically if there was an error in the packaging (e.g. a file was missed, or the description had an error in it, or a post-install script was wrong), this number would be increased to track the change, andarchitecture
is the target architecture of the platform,amd64
in this example; however if your package is architecture-independent (e.g. a python script), then you can set this toall
.
<package-name>_<version>-<release-number>_<architecture>