使用portsnap指令
1. portsnap fetch (抓最新版)
2. portsnap extract (解壓縮)
3. portsnap update (更新,但有時會說已是最新版、不理它)
4.
#cd /usr/ports/ports-mgmt/pkg
#make //編譯
#make reinstall //移除
5.
#pkg2ng
6.
#cat >> /etc/make.conf <<EOF
WITH_PKGNG=yes
EOF
1. portsnap fetch (抓最新版)
2. portsnap extract (解壓縮)
3. portsnap update (更新,但有時會說已是最新版、不理它)
FreeBSD安装軟體時出現錯誤訊息:
pkg(8) must be version 1.3.8 or greater, but you have 1.3.7. You must upgrade the ports-mgmt/pkg port first.
安裝 ports-mgmt/pkg
4.
#cd /usr/ports/ports-mgmt/pkg
#make //編譯
#make reinstall //移除
5.
#pkg2ng
6.
#cat >> /etc/make.conf <<EOF
WITH_PKGNG=yes
EOF
發表回應
( 共計615閱讀人次 )
| permalink
| ( 3 / 728 )