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à, dpkg is ready to run. For what concerns steps 3 and 4 consider that MacPorts uses the rsync protocol, so pay attention to your proxy or firewalls settings.

Technorati Tags: ,