iOSOpenDev 安装
dpkg
dpkg, more specifically dpkg-deb, is used to build Debian packages for distribution of projects to Cydia or other APT repositories.
Installing dpkg
MacPorts
Download MacPorts from http://www.macports.org/ and run the installer. After installed, open a new session of Terminal and run:sudo port selfupdate
to update the MacPorts system.
dpkg
In the new Terminal session, run: sudo port -f install dpkg
to install dpkg. The -f
option is used to "force" the installation which has been found is needed at times.
Troubleshooting
If after MacPorts is installed and you're unable to get dpkg installed, try logging out and back in or rebooting. This has been found to resolve issues with not being able to install dpkg right after an installation of MacPorts.
Do not use Fink's dpkg. This is known to have issues when building Debian packages with iOSOpenDev.