mac macports
安裝
https://www.macports.org/install.php
Quickstart
- Install Xcode and the Xcode Command Line Tools
- Agree to Xcode license in Terminal:
sudo xcodebuild -license
- Install MacPorts for your version of the Mac operating system:
來試試 git 安裝看看
Git Sources
If you are developer or a user with a taste for the bleeding edge and wish for the latest changes and feature additions, you may acquire the MacPorts sources through git. See the Guide section on installing from git.
Purpose-specific branches are also available at the https://github.com/macports/macports-base/branches url.
Alternatively, if you'd simply like to view the git repository without checking it out, you can do so via the GitHub web interface.
fork 一個出來.
% ./configure --enable-readline
% make
% make install
會安裝在 /opt/local/bin
使用
自我更新
% sudo port -v selfupdate% sudo port upgrade outdated
sudo port install <software package name>
sudo port update <software package name>
留言
張貼留言