差分
このページの2つのバージョン間の差分を表示します。
freebsd:using_portmaster [2013-11-14 20:08] Decomo 作成 |
freebsd:using_portmaster [2015-01-06 11:51] |
||
---|---|---|---|
行 1: | 行 1: | ||
- | ====== portmasterを使う ====== | ||
- | |||
- | 最近はportmasterが流行らしいので、portupgradeから乗り換えてみる。 | ||
- | |||
- | ===== インストール ===== | ||
- | アホみたいにインストールが早くてワロタ。システム標準の機能とシェルスクリプトだけで作られているそうなので、スクリプトを取得して展開してるだけなのかも。 | ||
- | < | ||
- | cd / | ||
- | make install | ||
- | </ | ||
- | |||
- | どうせなのでpkgngで運用してみる。 | ||
- | < | ||
- | # pkg | ||
- | The package management tool is not yet installed on your system. | ||
- | Do you want to fetch and install it now? [y/N]: y | ||
- | Bootstrapping pkg please wait | ||
- | _http._tcp.pkg.FreeBSD.org | ||
- | Installing pkg-1.1.4_8... done | ||
- | If you are upgrading from the old package format, first run: | ||
- | |||
- | # pkg2ng | ||
- | usage: pkg [-v] [-d] [-l] [-N] [-j <jail name or id>|-c <chroot path>] [-C < | ||
- | |||
- | Global options supported: | ||
- | -d | ||
- | -j | ||
- | -c | ||
- | -C Use the specified configuration file | ||
- | -l List available command and exit | ||
- | -v | ||
- | -N Test if pkg(1) is activated and avoid auto-activation | ||
- | |||
- | Commands supported: | ||
- | add Registers a package and installs it on the system | ||
- | annotate | ||
- | audit | ||
- | autoremove | ||
- | backup | ||
- | check | ||
- | clean | ||
- | convert | ||
- | create | ||
- | delete | ||
- | fetch | ||
- | help | ||
- | info | ||
- | install | ||
- | lock Locks package against modifications or deletion | ||
- | plugins | ||
- | query | ||
- | register | ||
- | remove | ||
- | repo | ||
- | rquery | ||
- | search | ||
- | set Modifies information about packages in the local database | ||
- | ssh ssh packages to be used via ssh | ||
- | shell | ||
- | shlib | ||
- | stats | ||
- | unlock | ||
- | update | ||
- | updating | ||
- | upgrade | ||
- | version | ||
- | which | ||
- | |||
- | Commands provided by plugins: | ||
- | |||
- | For more information on the different commands see 'pkg help < | ||
- | |||
- | # echo ' | ||
- | # pkg2ng | ||
- | </ | ||
- | |||