pkg_add…

學弟的 blog 上提到 pkg_add 直接透過網路抓 package 的方法…

提到主要的步驟是這樣:

setenv PACKAGESITE http://pointyhat.freebsd.org/errorlogs/i386-packages-5-latest/All/
pkg_add -rRv blahblah

不過,我查了一下發現 pkg_add -R 是…

-R: Do not record the installation of a package. This means that you cannot deinstall it later, so only use this option if you know what you are doing!

沒必要不留 /var/db/pkg 的紀錄吧?(或者是我會錯意了?)

2 thoughts on “pkg_add…”

Comments are closed.