pkg・ports アップデート - Git - 更新
- 1. 概要
- 2. リポジトリ更新
- 3. パッケージ更新
1. 概要
リポジトリ取得後の更新について記述します。
以下、特にことわりのない限り、「root」権限で操作します。
2. リポジトリ更新
リポジトリの更新は、以下のコマンドで行います。
git -C /usr/ports pull
3. パッケージ更新
パッケージの更新は、以下の手順で「portupgrade」が使用できます。
cd /usr/ports/ports-mgmt/portupgrade
make
make install
オプションはデフォルトのままで構いません。
「portupgrade」は、今までと同様。
portupgrade [-オプション] ports名
で機能します。
|
|