In the package sources directory, use the debuild
command:
- Install the dependencies of the package specified by the debian/control
file.
cd <package>-<new_version>/ sudo apt build-dep <package>
- Build the Debian binary
(only).
debuild -b -us -uc
- Inspect the contents of the binary.
- The new *.deb file is now available in the parent directory
- To see the content of
file:
dpkg -c ../*.deb
- Install the binary on the target and verify
functionality.
dpkg -i ../*.deb