Mac安装dpkg
1.安装Xcode
2.安装 Xcode Command Tools
1 | xcode-select --install |
3.同意 Xcode license agreements
1 | sudo xcodebuild -license |
agree
4.安装 Macports
http://www.macports.org/install.php
4.安装 dpkg
1 | export PATH=/opt/local/bin:/opt/local/sbin:$PATH |
1 | sudo port -f install dpkg |