Home | 简体中文 | 繁体中文 | 杂文 | 打赏(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎专栏 | Search | Email

第 6 章 Package Management

目录

6.1. apt-cache
6.1.1. search
6.1.2. depends
6.1.3. policy
6.2. Apt-Get
6.2.1. Search
6.2.2. Installation
6.2.3. Update
6.2.4. Remove
6.2.5. purge
6.3. aptitude
6.4. Automatic Updates
6.4.1. 升级过程中链接中断怎么办?
6.5. dpkg
6.5.1. -i|--install 安装.deb包
6.5.2. -r|--remove 卸载.deb包
6.5.3. -L|--listfiles <package> ... List files `owned' by package(s). 列出包中的文件
6.5.4. -l|--list [<pattern> ...] List packages concisely. 列出.deb包
6.5.5. Status
6.5.6. dpkg-deb - Debian package archive (.deb) manipulation tool
6.5.6.1. -X, --vextract archive directory Extract and display the filenames contained by a package
6.5.6.2. -e, --control archive [directory] Extracts the control information files from a package archive into the specified directory.
6.5.6.3. -b, --build directory [archive|directory]
6.5.7. dpkg-reconfigure
6.6. Upgrading
6.6.1. GUI
6.6.2. CLI
6.6.3. CDROM
6.7. 制作.deb安装包
6.7.1. checkinstall — Track installation of local software, and produce a binary manageable with your package management software.
6.7.2. dh_make - prepare Debian packaging for an original source archive
6.7.3. control

包管理工具

6.1. apt-cache

6.1.1. search

# apt-cache search tcpdump
			

6.1.2. depends

# apt-cache depends tcpdump
			

6.1.3. policy

$ apt-cache policy tcpdump
tcpdump:
  Installed: 4.0.0-6ubuntu3
  Candidate: 4.0.0-6ubuntu3
  Version table:
 *** 4.0.0-6ubuntu3 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status