1、如何只抓取 tarball?
2、如何僅做到解開 tarball的步驟?
3、如何僅做到解開 tarball 并補(bǔ)上官方提供的 patch?
4、如何安裝一個(gè)新的 port?
5、如何安裝一個(gè)新的 port,并將打包(package)起來?
6、如何打包一個(gè) port,并將其所有相依的 ports 也打包起來?
7、如何對(duì)一個(gè)已經(jīng)安裝的 port 打包?
8、如何清理 ports 編輯期間所產(chǎn)生的暫存資料?
9、如何清理 ports 編輯期間所產(chǎn)生的暫存資料,以及其相對(duì)應(yīng)的 tarball?
10、如何在安裝 ports 前查詢所需依賴/相關(guān)的套件?
11、如何移除已安裝的 ports?
12、如何一并移除所相依的 ports?
13、如何重新安裝已安裝過的 ports?
14、如何以關(guān)鍵字搜尋 ports?
15、如何升級(jí)已安裝的 ports?
16、如何查詢目前系統(tǒng)安裝了哪些套件?
17、如何查詢目前系統(tǒng)有沒有安裝這個(gè)關(guān)鍵字的套件?
18、如何查詢某個(gè)檔案是屬於哪些套件?
19、如何查詢某個(gè)套件安裝了哪些檔案?
20、如何安裝舊版的 ports?
21、如何更新 ports Mk?
22、如何解決安裝 ports 時(shí)出現(xiàn) sed -i 的錯(cuò)誤?
23、如何列出所有可以升級(jí)的 ports?
24、如何得知 ports system 對(duì)某個(gè) ports 所提供的編譯叁數(shù)?
25、如何手動(dòng)加入編譯 ports 的叁數(shù)?
26、如何指定 ports 的安裝路徑?
27、安裝 ports 出現(xiàn) FORCE_PKG_REGISTER 的錯(cuò)誤訊息
28、安裝 ports 出現(xiàn) Shared object libintl.so.X not found 的錯(cuò)誤訊息
29、如何安裝 packages?
30、如何強(qiáng)制安裝 packages?
31、如何查詢 packages 與其他 packages 之間的相依性?
32、如何遠(yuǎn)端安裝 packages?
33、如何更新 INDEX 對(duì)照表?
34、如何更新 INDEX HTML?
35、如何針對(duì)某些 ports 不做 CVSup?
36、如何使用 CVSup 同步 ports collections?
37、安裝 ports 出現(xiàn) port is outdated 的錯(cuò)誤訊息
39、安裝 ports 出現(xiàn) OpenSSL vulnerabilities 的錯(cuò)誤訊息
40、如何在 FreeBSD 上模擬 Linux 的環(huán)境?
41、如何在 FreeBSD 上安裝 Linux rpm?
42、安裝 ports 時(shí),原本應(yīng)該出現(xiàn)的清單選項(xiàng)不見了
43、如何檢查是否有安裝重覆的 ports/packages? `make deinstall' 與 `pkg_delete' 有什麼不同?
44、安裝 ports 出現(xiàn) local modification time does not match remote 的
錯(cuò)誤訊息
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-{版本號(hào)} |
代碼: |
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 #顯示所有相關(guān)的套件 make pretty-print-build-depends-list #顯示編譯期間所需要的套件 make pretty-print-run-depends-list #顯示此套件要執(zhí)行時(shí)所需要的套件 |
代碼: |
cd /usr/ports/editors/joe/ make deinstall |
代碼: |
cd /var/db/pkg/ pkg_delete joe-{version} |
代碼: |
cd /var/db/pkg/ pkg_delete -f joe-{version} |
標(biāo)簽:晉中 張家界 廣元 烏蘭察布 梧州 達(dá)州 德陽 信陽
巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《FreeBSD軟件安裝卸載工具--Ports和Packages詳解》,本文關(guān)鍵詞 FreeBSD,軟件,安裝,卸載,工具,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請(qǐng)?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。