I went to the Ubuntu wiki but got confused,there were too many ways. Please tell me an easy guide to Debian packaging.
Ubuntu – the simplest Debian Packaging Guide
debianpackaging
Related Question
- Ubuntu – What are Launchpad packaging recipes and how can I use them
- Ubuntu – How to create a simple debian package from binary
- Ubuntu – How to create a .deb file just for copying certain icons and one javascript file to particular locations
- Ubuntu – debuild failed at dh_install with cp: cannot stat `debian/tmp//path/to/install/bin/’: No such file or directory
- Ubuntu – How to create multiple debian packages using the same debian directory
Best Answer
This is a good HOWTO for creating a basic
.deb
file. It is suitable for creating.deb
files for personal use but not stringent enough if you want to the package to be included in Debian / Ubuntu - for that you should read the Debian New Maintainer's Guide and/or the Ubuntu Packaging Guide (which I believe you've already tried).A good tool for checking your
.deb
file for compliance islintian
(installable from the repositories).There were two sessions here in the Ask Ubuntu chatrooms.
The Basics of Packaging on Ubuntu (Packaging: Part 1)
Ubuntu Packaging for Launchpad PPAs (Packaging: Part 2)