Skip to main content

Creating .deb packages on Mac OS X

Posted by fabriziogiudici on July 22, 2007 at 4:35 PM PDT

Again thanks to Marcello Teodori, now I'm able to automatically create .deb packages on my development MacBook Pro.

Marcello explained me how to install the required application, dpkg - and the procedure works for a lot of typical Linux applications.

  1. install MacPorts;
  2. add to your PATH the directory /opt/local/bin;
  3. execute the following command to update the MacPorts installation:
    sudo port selfupdate
  4. at last install dpkg:
    sudo port install dpkg

Et voil