Debian 维护者指南
0 (quilt)”格式,除非明确指定了 -n 选项。 • 额外的功能 1历史上还存在过 deb-make 命令,它在 dh_make 之前曾经流行过。当前的 debmake 软件包的版本从 4.0 起始,其目的便是避 免和废弃的 debmake 软件包的版本产生重叠。旧有的对应软件包提供了 deb-make 命令。 1 CHAPTER 1. 概览 – 根据当前源代码对 debian/copyright e Lastname" export DEBEMAIL DEBFULLNAME 3.2 mc mc 命令提供了管理文件的简单途径。它可以打开二进制 deb 文件,并仅需对二进制 deb 文件按下回车 键便能检查其内容。它调用了 dpkg-deb 命令作为其后端。我们可以按照下列方式对其配置,以支持简易 chdir 操作。 添加至 ~/.bashrc 文件 # mc related if [ -f package) configured by squid-deb-proxy package In order to use this HTTP proxy without manual configuration adjustment, it’s a good idea to install either auto-apt-proxy or squid-deb-proxy-client package to0 码力 | 142 页 | 1.11 MB | 1 年前3Debian 参考手册(版本 2.109)
在文本段落中引用的命令片断由双引号括起来的打印机字体进行标记,就像”aptitude safe-upgrade”。 在文本段落中引用的来自配置文件的文本数据由双引号括起来的打印机字体进行标记,就像”deb-src”。 命令和置于其后的圆括号内的手册页章节数(可选),由打字机字体进行标记,就像 bash(1)。我们鼓励您这样通过输 入以下命令来获得信息。 $ man 1 bash manpage 11 节)。这是 MC 一个非常方便的用法。 文件类型 对回车键的响应 可执行文件 执行命令 帮助文档 管道内容查看器软件 html 文件 管道内容网页浏览器 ”*.tar.gz” 和”*.deb” 文件 浏览其内容就像查看子目录一样 Table 1.12: MC 中对回车键的响应 为让这些查看器和虚拟文件特征生效,可查看的文件不能够被设置为可执行。使用 chmod(1) 或通过 MC 文件菜单改 参考手册 39 / 233 deb http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free deb http://security0 码力 | 261 页 | 1.39 MB | 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 的副本,名为 gentoo_00 码力 | 63 页 | 493.28 KB | 1 年前3Debian打包教程 version 0.29
独立——没有(单独一家)公司在照看 Debian 我们集思广益群策群力(高行动力 + 民主决策) ▶ 业余爱好者们的理想状态:与同好们一起用爱发电 Debian 打包教程 5 / 90 Debian 软件包 ▶ .deb 文件(程序文件包) ▶ 可靠又方便的软件发行方式 ▶ 两种应用最广泛的软件包格式之一(另一种是 RPM) ▶ 概况: ▶ Debian 有超过 30,000 个软件包 → 绝大多数可用的免费软件都被打包进了 架构(Hurd; KFreeBSD) ▶ 同时被用于 120 款 Debian 衍生系统 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 ▶ debian-binary: deb 文件格式的版本,"2.0\n" ▶ control.tar.gz: 软件包的元数据 (metadata),包括 control, md5sums, (pre|post)(rm|inst), triggers, shlibs, … ▶ data.tar.gz: 软件包的数据文件 ▶ 你可以手动创建你自己的 .deb 文件 http://tldp.or0 码力 | 90 页 | 663.35 KB | 1 年前3Debian 參考手冊(第 2.109 版)
在文本段落中引用的片斷指令由雙引號括起來的打字機字體進行標記,就像”aptitude safe-upgrade”。 在文本段落中引用的來自調配文件的文本數據由雙引號括起來的打字機字體進行標記,就像”deb-src”。 指令和置於其後的圓括號內的手冊頁章節數(可選),由打字機字體進行標記,就像 bash(1)。我們鼓勵您這樣藉由 輸入以下指令來獲得資訊。 $ man 1 bash manpage 11)。這是 MC 一個非常方便的用法。 檔案型別 對 Enter 鍵的響應 可執行檔案 執行指令 幫助文件 管道內容檢視器軟體 html 檔案 管道內容網頁瀏覽器 ”*.tar.gz” 和”*.deb” 文件 瀏覽其內容就像檢視子目錄一樣 Table 1.12: MC 中對 Enter 鍵的響應 為讓這些檢視器和虛擬檔案特徵生效,可檢視的檔案不能夠被設定為可執行。使用 chmod(1) 或通過 參考手冊 39 / 232 deb http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free deb http://security0 码力 | 260 页 | 1.41 MB | 1 年前3Debian 快速參考手冊
如果您想升級到 testing,請加入 testing 的來源到該檔。如果您想升級到 unstable,請 加入 unstable 的來源到該檔。 # cd /etc/apt # grep -e "^deb " sources.list >srcs # :>sources.list # cp -f srcs sources.list # sed -e "s/stable/testing/" srcs >>sources 鏡射站台下載套件並使用dpkg來安裝。 如果您還沒連上網路,可以鎖住 /var/cache/apt/archives/ 的快取檔案。 # dpkg -i fetchmail_6.2.5-4_i386.deb 如 果 您 嘗 試 安 裝 套 件 卻 因 為 相 依 性 問 題 失 敗 的 話 , 請 搭 配--ignore-depends--force-depends或 其 他 參 數 來 執 行dpkg。dpkg(8)有 系統的其它分割區來開機進入 Linux 。在 /target 掛上這個無法開機的系統,並使用 dpkg 的 chroot 安裝模式。 # dpkg --root /target -i packagefile.deb Chapter 3. Debian 套件管理系統 13 然後設定並解決問題。 By the way, if a broken lilo is all that prevents booting0 码力 | 29 页 | 862.98 KB | 1 年前3大学霸 Kali Linux 安全渗透教程
root@kali:~# vi /etc/apt/sources.list deb http://mirrors.neusoft.edu.cn/kali/ kali main non-free contrib deb-src http://mirrors.neusoft.edu.cn/kali/ kali main non-free contrib deb http://mirrors.neusoft.edu.cn/kali-security 添加完以上几个源后,将保存sources.list文件并退出。在该文件中,添加的软件源 是根据不同的软件库分类的。其中,deb指的是DEB包的目录;deb-src指的是源码 目录。如果不自己看程序或者编译的话,可以不用指定deb-src。由于deb-src和deb 是成对出现的,可以不指定deb-src,但是当需要deb-src的时候,deb是必须指定 的。 (2)添加完软件源,需要更新软件包列表后才可以使用。更新软件包列表,执行 Interesting header: SERVER: Apache/2.2.22 (Debian) [+] Interesting header: X-POWERED-BY: PHP/5.4.4-14+deb7u8 [+] XML-RPC Interface available under: http://192.168.41.130/xmlrpc.php [+] WordPress version0 码力 | 444 页 | 25.79 MB | 1 年前3FISCO BCOS 1.3 中文文档
修改source.list sudo vim /etc/apt/source.list 添加以下信息 # deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricted deb-src http://archive.ubuntu.com/ubuntu xenial main restricted software-properties deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted multiverse universe #Added by software-properties deb http://mirrors restricted deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted multiverse universe #Added by software-properties deb http://mirrors.aliyun.com/ubuntu/ xenial universe deb http://mirrors0 码力 | 491 页 | 5.72 MB | 1 年前3Debian GNU/Linux 安装手册 June 11, 2023
–2021 Debian 安装程序团队 本手册属于自由软件,您可以在 GNU 通用公共授权(GPL)下重新发布和(或)修改它。请在附录 F 阅读该许可证的内容。 本手册的构建版本:20220129~deb11u1 。 i Contents 1 欢迎使用 Debian 1 1.1 什么是 Debian? . . . . . . . . . . . . . . . . . . . . . . . DEBIAN 安装程序 6.3. 使用单独的组件 6.3.6.1.3 选择网络镜像 除非选择不使用网络镜像,根据前面的安装步骤中您选择的国家,会显示网络镜像的列表。通常选择默 认的就行。 默认的是 deb.debian.org,这不是镜像自身,但将会重定向最新与最快的镜像。这些镜像支持 TLS (https 协议)和 IPv6。这个服务由 Debian 系统管理(DSA)团队维护。 可以通过选择“enter 5 编译新内核 为什么有人想要编译新的内核?非常可能是不必要的,因为 Debian 带的默认内核处理几乎所有配置。 如果您无论如何想要编译自己的内核,这当然是可能的,并且我们推荐使用“make deb-pkg”目标。 更多信息请阅读 Debian Linux Kernel Handbook 。 3您也可以卸载 exim4 安装其他的 MTA/MDA。 47 CHAPTER 8. 下一步该干什么0 码力 | 93 页 | 562.56 KB | 1 年前3Debian GNU/Linux 安裝手冊 January 8, 2024
in the installation process. Choosing the offered default is usually fine. The offered default is deb.debian.org, which is not a mirror itself but will redirect to a mirror that should be up-to-date and compile your own kernel nevertheless, this is of course possible and we recommend the use of the“make deb-pkg”target. For more information read the Debian Linux Kernel Handbook. 8.6 Recovering a Broken System http://local.server/debian stable main #d-i apt-setup/local0/comment string local server # Enable deb-src lines #d-i apt-setup/local0/source boolean true # URL to the public key of the local repository;0 码力 | 120 页 | 643.51 KB | 1 年前3
共 107 条
- 1
- 2
- 3
- 4
- 5
- 6
- 11