Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create .deb packages on Mac OS X

Tags:

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.

like image 338
Zeeshan Avatar asked Oct 21 '10 16:10

Zeeshan


People also ask

Can I run .deb on Mac?

deb packages on OS X. However, we can unpack a . deb file on Mac OS X without installing it. Alternatively, you could use Homebrew to install the dpkg utility which has many more options to work against .

Does dpkg work on Mac?

You will first have to install dpkg. In my opinion the easiest way to do this is to first install macports which is a high level packet manager for os x and then use macports to install dpkg. Once installed you can run sudo port install dpkg . Then you can use dpkg on the command line.


1 Answers

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.

like image 73
Nate Symer Avatar answered Sep 18 '22 14:09

Nate Symer