Debian 套件打包教學指南 version 0.29
不被任何一間公司所擁有 決策過程一切透明化 (行動至上 + 民主) ▶ 對於業餘開發者 來說最大的意義: 因本身喜愛而去完成這些事 Debian 套件打包教學指南 5 / 90 Debian 套件 ▶ .deb 檔案 (二進制套件) ▶ 以有效且合宜的方法來向使用者發佈軟體 ▶ 是兩個最常見的套件格式之一 (另一個為 RPM) ▶ 一般來說: ▶ Debian 有 30,000 個二進制套件 → 絕大部份的自由軟體皆已經打包並放進 相關(Hurd; KFreeBSD) ▶ Debian 被其衍生120個發行版所使用 Debian 套件打包教學指南 6 / 90 Deb 套件格式 ▶ .deb 檔案: 是 ar 靜態函式庫格式 $ ar tv wget_1 .12 -2.1 _i386.deb rw -r--r-- 0/0 4 Sep 5 15:43 2010 debian -binary rw -r--r-- 0/0 2403 tar.gz ▶ debian-binary: deb檔案格式的版本, " 2.0\n" ▶ control.tar.gz: 描述套件相關資訊的檔案 control, md5sums, (pre|post)(rm|inst), triggers, shlibs, . . . ▶ data.tar.gz: 套件裡的資料 ▶ 你可以手動製作 .deb 檔案 http://tldp.org/HOWT0 码力 | 90 页 | 691.02 KB | 1 年前3Debian 新維護人員手冊
package_version-revision.dsc • 從 Debian 源碼包構建 Debian 二進制包;二進制包的格式通常是.deb (或者 .udeb,Debian Installer 專用) – package_version-revision_arch.deb 請注意,在 Debian 軟件包文件名中,分隔 package 和 version 的字符從 tarball 名稱的 - (連字符) 的內容,你應當解包後移除它們,再以添加了 dfsg 的上游版本號重新 打包。 作爲示例,我將使用一個名爲 gentoo 的程序,它是一個 GTK+ 文件管理器。⁷ 在你的用戶主目錄下創建一個子目錄,命名爲 debian 或 deb 或其他你喜歡且合適的名字 (本例中使用 ~/gentoo)。 把下載好的歸檔文件放在其中並解包 (使用 tar xzf gentoo-0.9.12.tar.gz 命令)。要確定解包過程中沒有發生 錯誤,即便是有一點 (文件名)。1⁷ 詳情請參見 dh_make(8) 。 你會看到一些輸出,詢問你想要建立什麼型別的軟體包。這裡的 Gentoo 被規劃為一個單一二進位制包——它僅僅產 生一個二進位制包,亦即單個 .deb 檔案——於是我們就選擇第一項 (按 s 鍵),認真閱讀螢幕上的輸出資訊,然後按 ENTER 鍵來確認。1⁸ 執行 dh_make 後,上一級目錄中自動創建了一份上游 tarball 的副本,名爲0 码力 | 63 页 | 512.12 KB | 1 年前3julia 1.10.10
distribution package such as a .deb, or .rpm, some extra effort is needed. See the julia- debian repository for an example of what metadata is needed for creating .deb packages for Debian and Ubuntu-based0 码力 | 1692 页 | 6.34 MB | 3 月前3Julia 1.10.9
distribution package such as a .deb, or .rpm, some extra effort is needed. See the julia- debian repository for an example of what metadata is needed for creating .deb packages for Debian and Ubuntu-based0 码力 | 1692 页 | 6.34 MB | 3 月前3Julia 1.11.4
distribution package such as a .deb, or .rpm, some extra effort is needed. See the julia- debian repository for an example of what metadata is needed for creating .deb packages for Debian and Ubuntu-based0 码力 | 2007 页 | 6.73 MB | 3 月前3Julia 1.11.5 Documentation
distribution package such as a .deb, or .rpm, some extra effort is needed. See the julia- debian repository for an example of what metadata is needed for creating .deb packages for Debian and Ubuntu-based0 码力 | 2007 页 | 6.73 MB | 3 月前3Julia 1.11.6 Release Notes
distribution package such as a .deb, or .rpm, some extra effort is needed. See the julia- debian repository for an example of what metadata is needed for creating .deb packages for Debian and Ubuntu-based0 码力 | 2007 页 | 6.73 MB | 3 月前3julia 1.13.0 DEV
distribution package such as a .deb, or .rpm, some extra effort is needed. See the julia- debian repository for an example of what metadata is needed for creating .deb packages for Debian and Ubuntu-based0 码力 | 2058 页 | 7.45 MB | 3 月前3Julia 1.12.0 RC1
distribution package such as a .deb, or .rpm, some extra effort is needed. See the julia- debian repository for an example of what metadata is needed for creating .deb packages for Debian and Ubuntu-based0 码力 | 2057 页 | 7.44 MB | 3 月前3Julia 1.12.0 Beta4
distribution package such as a .deb, or .rpm, some extra effort is needed. See the julia- debian repository for an example of what metadata is needed for creating .deb packages for Debian and Ubuntu-based0 码力 | 2057 页 | 7.44 MB | 3 月前3
共 12 条
- 1
- 2