FreeBSDのapt listと同等のものは何ですか?

FreeBSDのapt listと同等のものは何ですか?

私は* BSDベースのシステム(macOSを除く)で数年後にFreeBSDを再利用し始めました。私はFreeBSD 11.0と12.0を使用しています。

管理パックはpkg非常に直感的に見えますが、コマンドは実際には非常にpkg updateよく似ています。pkg upgradepkg searchpkg autoremove

しかし、インストールされたパッケージのリストがあることはどういう意味ですかapt listdpkg -l詳細なページを覚えて見つけましたpkg_infoが、コマンドは機能しません。

ベストアンサー1

pkg_info使い方はもう使われなくなって混乱します。

実際にインストールされているFreeBSDパッケージを一覧表示するのに適したコマンドはですpkg info

~からman pkg

info はインストールされたパッケージに関する情報を表示します。

$ pkg info | tail
python27-2.7.13_1              Interpreted object-oriented programming language
readline-6.3.8                 Library for editing command lines as they are typed
screen-4.5.0_2                 Multi-screen window manager
sdig-0.45_1                    Translate IP/DNS/WINS/MAC address into port description
tmux-2.3_2                     Terminal Multiplexer
unbound-1.6.1                  Validating, recursive, and caching DNS resolver
vm-bhyve-1.1.5                 Management system for bhyve virtual machines
wget-1.19                      Retrieve files from the Net via HTTP(S) and FTP
xextproto-7.3.0                XExt extension headers
xproto-7.0.31                  X11 protocol headers

FreeBSD Wikiをご覧ください包装プライマーpkgこのコマンドの使用法と廃止されたpkg_*コマンドの同等の使用法について詳しく説明します。

おすすめ記事