DarwinPortsを試してみる Edit

DarwinPorts.png



  • 参考にしたページ
  • パッケージのインストール
    dmg形式のパッケージをダウンロードしてインストールを行いました。
    http://darwinports.opendarwin.org/downloads/DarwinPorts-1.0.dmg

  • パス設定
    $HOME/.profile(なければ作成)に下記を加えて、
    export PATH=/opt/local/bin:$PATH
    
    設定を反映させます。
    Macmini:~ user$ . ~/.profile
    
  • DarwinPortsを最新の物にアップデートしておきます
    Macmini:~ user$ sudo port selfupdate
    Macmini:~ user$ sudo port sync
    
  • wgetコマンドを試しにインストールしてみる。
    Macmini:~ user$ sudo port install wget
    --->  Fetching wget
    --->  Attempting to fetch wget-1.10.tar.gz from ftp://ftp.gnu.org/gnu/wget
    --->  Verifying checksum(s) for wget
    --->  Extracting wget
    --->  Configuring wget
    --->  Building wget with target all
    --->  Staging wget into destroot
    --->  Packaging tgz archive for wget 1.10_0
    --->  Installing wget 1.10_0
    --->  Activating wget 1.10_0
    --->  Cleaning wget
    
    Macmini:~ user$ which wget
    /opt/local/bin/wget
    
    ほほぅ。ソース取得、ビルド、インストールまでフルオートでやってくれるのね。
    これが、portというパッケージ管理システムなのか〜。なかなか感心。




添付ファイル: fileDarwinPorts.png 236件 [詳細]

トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2007-08-02 (木) 11:46:46 (6117d)