安装dpkg.通过安装Macports来安装。
安装Macports后,运行port -v 提示command not found port
更改方法是:
sudo vi /etc/paths
#add 2 following lines:
/opt/local/bin
/opt/local/sbin
安装MacPorts完成后,在terminal中输入:
sudo port selfupdate
确保MacPorts升级到了最新版本;
运行sudp port install dpkg
这个过程会安装dpkg所需的yi'lai'gong'j
make失败解决方法:
sudo xcode-select -switch /Application/Xcode.app/Contents/Developer