Home | 簡體中文 | 繁體中文 | 雜文 | 打賞(Donations) | Github | OSChina 博客 | 雲社區 | 雲棲社區 | Facebook | Linkedin | 知乎專欄 | 視頻教程 | About

第 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