Notebook
これは日々の作業を通して学んだことや毎日の生活で気づいたことをを記録しておく備忘録である。
HTML ファイル生成日時: 2025/06/08 00:28:52.642 (台灣標準時)
Ports Collection をダウンロードする方法
FreeBSD で Ports Collection をダウンロードするには以下のようにすればよ
いでござる。まず portsnap コマンドを使って必要なファイルをダウンロード
するでござる。
# portsnap fetch
Looking up portsnap.FreeBSD.org mirrors... 4 mirrors found.
Fetching public key from ipv4.aws.portsnap.freebsd.org... done.
Fetching snapshot tag from ipv4.aws.portsnap.freebsd.org... done.
Fetching snapshot metadata... done.
Fetching snapshot generated at Tue May 24 08:33:14 CST 2022:
7b5491121bc30d1683f7afbbc8b1987d15296a8e070f0b 96 MB 10 MBps 09s
Extracting snapshot... done.
Verifying snapshot integrity... done.
Fetching snapshot tag from ipv4.aws.portsnap.freebsd.org... done.
Fetching snapshot metadata... done.
Updating from Tue May 24 08:33:14 CST 2022 to Tue May 24 20:00:19 CST 2022.
Fetching 5 metadata patches... done.
Applying metadata patches... done.
Fetching 0 metadata files... done.
Fetching 27 patches.
(27/27) 100.00% done.
done.
Applying patches...
done.
Fetching 3 new ports or files... done.
次に、個々のファイルを展開するでござる。
# portsnap extract
すると、 /usr/ports 以下に必要なファイルが準備されるでござる。
# ls /usr/ports/
.arcconfig UIDs devel lang security
.gitignore UPDATING dns mail shells
.hooks accessibility editors math sysutils
.portsnap.INDEX arabic emulators misc textproc
CHANGES archivers finance multimedia ukrainian
CONTRIBUTING.md astro french net vietnamese
COPYRIGHT audio ftp net-im www
GIDs base games net-mgmt x11
INDEX-13 benchmarks german net-p2p x11-clocks
Keywords biology graphics news x11-drivers
MOVED cad hebrew polish x11-fm
Makefile chinese hungarian ports-mgmt x11-fonts
Mk comms irc portuguese x11-servers
README converters japanese print x11-themes
Templates databases java russian x11-toolkits
Tools deskutils korean science x11-wm
Ports Collection を使ったアプリケーションのコンパイルとインストール
Ports Collection を使ってアプリケーションをコンパイルし、インストール
するには以下のようにすればよいでござる。
# cd /usr/ports/x11/xauth/
# make install
参考文献
- About this article:
- author: daisuke
- file: 20220524_0.html
- category: Computer___FreeBSD
- title: Ports Collection をダウンロードする方法
- mode: public
- last modified: 2022/05/24 22:00:42 (Taiwan Standard Time)
- html generated: 2025/06/08 00:28:52.642 (Taiwan Standard Time)
Frequently accessed files
- Computer___Python/20220518_0.html
- 12845 page views
- title: Matplotlib で作る図の縦横比
- Computer___Network/20230726_00.html
- 7236 page views
- title: git の SSL certificate problem の解決方法
- Misc___Taiwan/20240207_00.html
- 5866 page views
- title: 台灣から台灣の外に EMS で荷物を発送する方法
- Computer___Network/20230516_00.html
- 4873 page views
- title: OpenVPN 2.6 を使い VPN Gate に接続するときの注意点
- Computer___FreeBSD/20220621_0.html
- 3438 page views
- title: FreeBSD での X.org の設定の仕方
- Computer___Network/20240130_00.html
- 2872 page views
- title: Google Colaboratory で Python 3.12 を使う方法
- Computer___Network/20230508_00.html
- 2813 page views
- title: git push するときにパスワードの入力を省略する方法
- Computer___Python/20220715_0.html
- 2741 page views
- title: SciPy による最小二乗法
- Computer___TeX/20231107_00.html
- 2458 page views
- title: LaTeX での counter の利用方法について
- Computer___NetBSD/20230119_00.html
- 2346 page views
- title: NetBSD でバイナリーパッケージを利用する方法
- Food___Taiwan/20220429_0.html
- 2191 page views
- title: 「楊滇風」の滇味辣炒豬
- Computer___Network/20240416_00.html
- 2033 page views
- title: git push としたときの error: RPC failed
- Computer___Network/20220413_1.html
- 2025 page views
- title: HTML 文書の中の一部の文字を点滅させる方法
- Computer___Python/20220410_0.html
- 2016 page views
- title: Pint モジュールを使った単位を含む数値の取り扱い
- Computer___Python/20221013_0.html
- 1982 page views
- title: Matplotlib での作図において順番を決めて点や線を描画する方法
- Misc___Japan/20240610_00.html
- 1964 page views
- title: NHK ラジオの「聞き逃し」の変更点 (2024 年 06 月)
- Computer___NetBSD/20220817_3.html
- 1869 page views
- title: JupyterLab のインストール直後に行うべきこと
- Computer___Python/20240101_00.html
- 1853 page views
- title: Matplotlib の 3D plot においての注意点
- Computer___Debian/20210223_1.html
- 1842 page views
- title: Debian で autofs を使い自動で NFS マウントする方法
- Computer___TeX/20230726_01.html
- 1829 page views
- title: Beamer の Metropolis テーマで block の色を変える方法
- Computer___NetBSD/20220818_1.html
- 1784 page views
- title: Emacs の markdown-mode について
- Computer___NetBSD/20240101_02.html
- 1743 page views
- title: ffmpeg を使って動画に音声を追加する方法
- Computer___Python/20210124_0.html
- 1740 page views
- title: Python での argparse を使ったコマンドライン引数の取り扱い方法
- Computer___NetBSD/20220428_0.html
- 1726 page views
- title: Beamer で verbatim 環境を使う方法
- Science___Math/20220420_0.html
- 1679 page views
- title: ラプラシアンの三次元極座標表示
- Misc___Taiwan/20240819_00.html
- 1599 page views
- title: 住所から台灣の郵便番号を調べる方法
- Computer___TeX/20230503_00.html
- 1586 page views
- title: LaTeX CJK で日本語や中国語を取り扱うための準備について
- Computer___TeX/20240414_00.html
- 1558 page views
- title: LuaTeX での fontspec を使ったフォントの設定の方法
- Computer___NetBSD/20240101_03.html
- 1528 page views
- title: ffmpeg で動画に metadata を追加する方法
- Science___Astronomy/20220503_0.html
- 1505 page views
- title: Lane-Emden 方程式を数値的に解く
HTML file generated by Kinoshita Daisuke.