How to create .deb packages on Mac OS X

Zeeshan picture Zeeshan · Oct 21, 2010 · Viewed 26.3k times · Source

I am trying to upload my app on Cydia and it requires .deb package. I am unable to figure out how to make .deb packages on mac. I am using 10.6.3 when I write this command on terminal

dpkg-deb -b MyProgram

Terminal output is

-bash: dpkg-deb: command not found

I've install fink, Mac ports insert Mac DVD to find out but nothing helps.

Answer

Nate Symer picture Nate Symer · Jan 18, 2014

It's available on Homebrew:

brew install dpkg

If you don't have Homebrew installed, go to brew.sh. It's a simple one-liner to install.

Homebrew is less invasive, less complicated, and more popular than Macports or similar.