Home | Mirror | Search

第 6 章 Package Management

目錄

1. apt-cache
1.1. search
1.2. depends
1.3. policy
2. Apt-Get
2.1. Search
2.2. Installation
2.3. Update
2.4. Remove
3. aptitude
4. Automatic Updates
5. dpkg
5.1. -i|--install 安裝.deb包
5.2. -r|--remove 卸載.deb包
5.3. -L|--listfiles <package> ... List files `owned' by package(s). 列出包中的檔案
5.4. -l|--list [<pattern> ...] List packages concisely. 列出.deb包
5.5. Status
5.6. dpkg-deb - Debian package archive (.deb) manipulation tool
5.6.1. -X, --vextract archive directory Extract and display the filenames contained by a package
5.6.2. -e, --control archive [directory] Extracts the control information files from a package archive into the specified directory.
5.6.3. -b, --build directory [archive|directory]
5.7. dpkg-reconfigure
6. Upgrading
6.1. GUI
6.2. CLI
6.3. CDROM
7. 製作.deb安裝包
7.1. checkinstall — Track installation of local software, and produce a binary manageable with your package management software.
7.2. dh_make - prepare Debian packaging for an original source archive
7.3. control

包管理工具

1. apt-cache

1.1. search

# apt-cache search tcpdump
			

1.2. depends

# apt-cache depends tcpdump
			

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