2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

FreeBSD14 Ports Update

Last updated at Posted at 2024-05-24

FreeBSD14だとportsnapとか無さそうなのでメモ

前提

  • FreeBSD14.0 の VPSサーバ
  • まだ Ports Update をしてない状態

Git をインストール

% su
# cd /usr/ports/devel/git
# make install clean

Portsツリーを新しい場所にもってくる

  • 最初の1回だけ実行
  • 同じ場所だとうまくいかんかった
# git clone https://git.FreeBSD.org/ports.git /var/ports

Portsツリーを更新

  • 次回以降はこのコマンドのみでよい
# git -C /var/ports pull

Ports index の作成

# cd /var/ports
# make fetchindex
2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?