mac macports

wiki macports

https://ports.macports.org/

Macports Github




安裝

https://www.macports.org/install.php

Quickstart

  1. Install Xcode and the Xcode Command Line Tools
  2. Agree to Xcode license in Terminal: sudo xcodebuild -license
  3. Install MacPorts for your version of the Mac operating system:

這邊可以下載 pkg 檔安裝. 

來試試 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 一個出來. 

% git clone https://github.com/neojou/macports-base
% ./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>


留言

熱門文章