1、如何只抓取 tarball?
2、如何僅做到解開 tarball的步驟?
3、如何僅做到解開 tarball 并補上官方提供的 patch?
4、如何安裝一個新的 port?
5、如何安裝一個新的 port,并將打包(package)起來?
6、如何打包一個 port,并將其所有相依的 ports 也打包起來?
7、如何對一個已經安裝的 port 打包?
8、如何清理 ports 編輯期間所產生的暫存資料?
9、如何清理 ports 編輯期間所產生的暫存資料,以及其相對應的 tarball?
10、如何在安裝 ports 前查詢所需依賴/相關的套件?
11、如何移除已安裝的 ports?
12、如何一并移除所相依的 ports?
13、如何重新安裝已安裝過的 ports?
14、如何以關鍵字搜尋 ports?
15、如何升級已安裝的 ports?
16、如何查詢目前系統安裝了哪些套件?
17、如何查詢目前系統有沒有安裝這個關鍵字的套件?
18、如何查詢某個檔案是屬於哪些套件?
19、如何查詢某個套件安裝了哪些檔案?
20、如何安裝舊版的 ports?
21、如何更新 ports Mk?
22、如何解決安裝 ports 時出現 sed -i 的錯誤?
23、如何列出所有可以升級的 ports?
24、如何得知 ports system 對某個 ports 所提供的編譯叁數?
25、如何手動加入編譯 ports 的叁數?
26、如何指定 ports 的安裝路徑?
27、安裝 ports 出現 FORCE_PKG_REGISTER 的錯誤訊息
28、安裝 ports 出現 Shared object libintl.so.X not found 的錯誤訊息
29、如何安裝 packages?
30、如何強制安裝 packages?
31、如何查詢 packages 與其他 packages 之間的相依性?
32、如何遠端安裝 packages?
33、如何更新 INDEX 對照表?
34、如何更新 INDEX HTML?
35、如何針對某些 ports 不做 CVSup?
36、如何使用 CVSup 同步 ports collections?
37、安裝 ports 出現 port is outdated 的錯誤訊息
39、安裝 ports 出現 OpenSSL vulnerabilities 的錯誤訊息
40、如何在 FreeBSD 上模擬 Linux 的環境?
41、如何在 FreeBSD 上安裝 Linux rpm?
42、安裝 ports 時,原本應該出現的清單選項不見了
43、如何檢查是否有安裝重覆的 ports/packages? `make deinstall' 與 `pkg_delete' 有什麼不同?
44、安裝 ports 出現 local modification time does not match remote 的
錯誤訊息
1、如何只抓取 tarball?
如果只希望抓取 tarball 下來的話,僅需下 make fetch 即可。
如果是要抓取單一的 port,以 editors/joe 為例的話,則:
代碼: |
cd /usr/ports/editors/joe/ make fetch |
代碼: |
cd /usr/ports/systuils/portupgrade/ make fetch-recursive |
代碼: |
cd /usr/ports/ make fetch |
代碼: |
cd /usr/ports/ftp/ make fetch |
代碼: |
cd /usr/ports/editors/joe/ make extract |
代碼: |
cd /usr/ports/editors/joe/ make patch |
代碼: |
cd /usr/ports/editors/joe/ make install |
代碼: |
cd /usr/ports/editors/joe/ #make clean |
代碼: |
cd /usr/ports/ #make clean |
代碼: |
cd /usr/ports/editors/joe/ #make package |
代碼: |
mkdir -p /usr/ports/packages/All/ |
代碼: |
cd /usr/ports/editors/joe/ make package clean |
代碼: |
cd /usr/ports/sysutils/portupgrade/ make DEPENDS_TARGET=package package |
代碼: |
cd /var/db/pkg/ pkg_create -b joe-{版本號} |
代碼: |
cd /usr/ports/editors/joe/ make clean |
代碼: |
cd /usr/ports/ make clean |
代碼: |
cd /usr/ports/ftp/ make clean |
代碼: |
cd /usr/ports/editors/joe/ make distclean |
代碼: |
cd /usr/ports/ make distclean |
代碼: |
cd /usr/ports/ftp/ make distclean |
代碼: |
cd /usr/ports/mail/p5-Mail-SpamAssassin/ make all-depends-list #顯示所有相關的套件 make pretty-print-build-depends-list #顯示編譯期間所需要的套件 make pretty-print-run-depends-list #顯示此套件要執行時所需要的套件 |
代碼: |
cd /usr/ports/editors/joe/ make deinstall |
代碼: |
cd /var/db/pkg/ pkg_delete joe-{version} |
代碼: |
cd /var/db/pkg/ pkg_delete -f joe-{version} |
新聞熱點
疑難解答