This is a static archive of our old Q&A Site. Please post any new questions and answers at

How do I make a Debian package?


How do I make a Debian .deb package of my build of Wireshark?

The developer's guide indicates there is (or used to be) a debian-package make target. Using the latest development version (commit 152b0c92d6, which builds and appears to run just fine), there is no such make target. Additionally, there is no packaging/debian folder. Do I need to pass any particular options to or configure to enable debian package output?
On windows, I would just invoke nmake -f Makefile.nmake packaging, and an NSIS installer that could be shared with anyone is generated automatically. I want to distribute a .deb in the same manner.

asked 25 Nov '14, 10:02

multipleinterfaces's gravatar image

accept rate: 12%

Apparently maintaining the debian-package stuff was a headache or less-important use-case for most developers (see bug 8190). I'd still like to know how to make a Debian package of Wireshark (a pointer or two about how to get started would be good enough), so I'm leaving the question open.

(25 Nov '14, 10:29) multipleinte...

One Answer:


The Wireshark buildbot for Ubuntu makes one, see here for example. Looks like the build step runs dpkg-buildpackage -us -uc -rfakeroot.

answered 26 Nov '14, 06:19

grahamb's gravatar image

grahamb ♦
accept rate: 22%