Home | 简体中文 | 繁体中文 | 杂文 | Search | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 作品与服务 | Email

第 4 章 Package Management

目录

4.1. apt-cache
4.1.1. search
4.1.2. depends
4.1.3. policy
4.2. Apt-Get
4.2.1. Search
4.2.2. Installation
4.2.3. Update
4.2.4. Remove
4.3. aptitude
4.4. Automatic Updates
4.4.1. 升级过程中链接中断怎么办?
4.5. dpkg
4.5.1. -i|--install 安装.deb包
4.5.2. -r|--remove 卸载.deb包
4.5.3. -L|--listfiles <package> ... List files `owned' by package(s). 列出包中的文件
4.5.4. -l|--list [<pattern> ...] List packages concisely. 列出.deb包
4.5.5. Status
4.5.6. dpkg-deb - Debian package archive (.deb) manipulation tool
4.5.6.1. -X, --vextract archive directory Extract and display the filenames contained by a package
4.5.6.2. -e, --control archive [directory] Extracts the control information files from a package archive into the specified directory.
4.5.6.3. -b, --build directory [archive|directory]
4.5.7. dpkg-reconfigure
4.6. Upgrading
4.6.1. GUI
4.6.2. CLI
4.6.3. CDROM
4.7. 制作.deb安装包
4.7.1. checkinstall — Track installation of local software, and produce a binary manageable with your package management software.
4.7.2. dh_make - prepare Debian packaging for an original source archive
4.7.3. control

包管理工具

4.1. apt-cache

4.1.1. search

# apt-cache search tcpdump
			

4.1.2. depends

# apt-cache depends tcpdump
			

4.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

			
comments powered by Disqus