-
-
Notifications
You must be signed in to change notification settings - Fork 53
Packaging for Debian and derivatives
- Make a Videomass
debian source package
from upstream source code (for distribution) - Build and install a
.deb
file in your Debian or derivative OS
Required dependencies for building:
- Python >= 3.8.0
- python3-pip
- python3-all
- debhelper
- dh-python
- devscripts
- debmake
- pybuild-plugin-pyproject
~# apt update && apt install python3-pip python3-all debhelper dh-python devscripts debmake pybuild-plugin-pyproject
-
Inside the repo dir build a Debian package from the upstream source:
~$ debmake --tar -b:python3
-
Edit changelog file
Insidevideomass-?.?.?/debian
edit thechangelog
file and replaceUNRELEASED
row with specified Debian release e.g.unstable
,bionic
,focal
, etc. then save it. -
To generate a debian source package type:
$ debuild -S
(you could add the-sa
option to digitally sign) -
Instead, to make a .deb file (aka binary package) type:
$ debuild -b
(you could add the-sa
option to digitally sign)Important:
Do this on the same source package for each target distribution i.e Debian, Ubuntu, Mint, etc.
Do not distribute precompiled binary files (.deb) for all debian or derivative versions. -
This installs it
$ cd ..
$ sudo dpkg -i videomass_?.?.?-1_all.deb