pkg_add -r
http://d.hatena.ne.jp/moAnnetenna/20051217#c1134855273
で、またまたotsuneさんに教えていただく。ありがとうございます。
習うよりなれろパッケージシステムの使い方。
で、早速man pkg_add。そいえばしたこと無かった(だめ)
-r Use the remote fetching feature. This will determine the appro-
priate objformat and release and then fetch and install the pack-
age.
なるほどー。で、ですね、確かに今さわってるやつは4系統なんです。
が、古いのかどうかわかりませんが、そのままuname -rの名前を普通に
指定してしまうと、/stand/sysintallででも、
optionでanyにしておかないと「ありません」と普通に言われてしまいます。
と思ってみてると
One or more pkg-name arguments may be specified, each being either a file
containing the package (these usually ending with the ``.tgz'' suffix) or
a URL pointing at a file available on an ftp site. Thus you may extract
files directly from their anonymous ftp locations (e.g. pkg_add
ftp://ftp.freebsd.org/pub/FreeBSD/packages/shells/bash-1.14.4.tgz).
なんてのが。そうなのか。そんなのもありなのか。
今度試してみます。bashは今入ってるだろうしね。
がびーん(そればっか)。
つーか、
# pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/packages/shells/bash-1.14.4.tgz
Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/packages/shells/bash-1.14.4.tgz: File unavailable (e.g., file not found, no access)
だし。
とりあえず
ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/
をみつけたのでここから自分のリリース探して取得できるかもなぁ。。
というとこでお休み。