apt 套件探索

下載套件

下載「apt」這個套件。

$ apt download apt

解開套件

解開「apt_1.2.10ubuntu1_amd64.deb」

$ dpkg -x apt_1.2.10ubuntu1_amd64.deb apt

觀看資料夾結構

執行

$ tree apt

顯示

apt
├── etc
│   ├── apt
│   │   ├── apt.conf.d
│   │   │   ├── 01autoremove
│   │   │   └── 01-vendor-ubuntu
│   │   ├── preferences.d
│   │   ├── sources.list.d
│   │   └── trusted.gpg.d
│   ├── cron.daily
│   │   └── apt-compat
│   ├── kernel
│   │   └── postinst.d
│   │       └── apt-auto-removal
│   └── logrotate.d
│       └── apt
├── lib
│   └── systemd
│       └── system
│           ├── apt-daily.service
│           └── apt-daily.timer
├── usr
│   ├── bin
│   │   ├── apt
│   │   ├── apt-cache
│   │   ├── apt-cdrom
│   │   ├── apt-config
│   │   ├── apt-get
│   │   ├── apt-key
│   │   └── apt-mark
│   ├── lib
│   │   ├── apt
│   │   │   ├── apt-helper
│   │   │   ├── apt.systemd.daily
│   │   │   ├── methods
│   │   │   │   ├── bzip2 -> store
│   │   │   │   ├── cdrom
│   │   │   │   ├── copy
│   │   │   │   ├── file
│   │   │   │   ├── ftp
│   │   │   │   ├── gpgv
│   │   │   │   ├── gzip -> store
│   │   │   │   ├── http
│   │   │   │   ├── lzma -> store
│   │   │   │   ├── mirror
│   │   │   │   ├── rred
│   │   │   │   ├── rsh
│   │   │   │   ├── ssh -> rsh
│   │   │   │   ├── store
│   │   │   │   └── xz -> store
│   │   │   └── solvers
│   │   ├── dpkg
│   │   │   └── methods
│   │   │       └── apt
│   │   │           ├── desc.apt
│   │   │           ├── install
│   │   │           ├── names
│   │   │           ├── setup
│   │   │           └── update
│   │   └── x86_64-linux-gnu
│   │       ├── libapt-private.so.0.0 -> libapt-private.so.0.0.0
│   │       └── libapt-private.so.0.0.0
│   └── share
│       ├── bash-completion
│       │   └── completions
│       │       └── apt
│       ├── bug
│       │   └── apt
│       │       └── script
│       ├── doc
│       │   └── apt
│       │       ├── changelog.gz -> ../libapt-pkg5.0/changelog.gz
│       │       ├── copyright
│       │       ├── examples
│       │       │   ├── apt.conf
│       │       │   ├── apt-https-method-example.conf.gz
│       │       │   ├── configure-index.gz
│       │       │   └── sources.list
│       │       └── NEWS.Debian.gz -> ../libapt-pkg5.0/NEWS.Debian.gz
│       ├── lintian
│       │   └── overrides
│       │       └── apt
│       ├── locale
│       │   ├── ar
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── ast
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── bg
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── bs
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── ca
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── cs
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── cy
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── da
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── de
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── dz
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── el
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── es
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── eu
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── fi
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── fr
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── gl
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── hu
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── it
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── ja
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── km
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── ko
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── ku
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── lt
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── mr
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── nb
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── ne
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── nl
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── nn
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── pl
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── pt
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── pt_BR
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── ro
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── ru
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── sk
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── sl
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── sv
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── th
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── tl
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── tr
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── uk
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── vi
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   ├── zh_CN
│       │   │   └── LC_MESSAGES
│       │   │       └── apt.mo
│       │   └── zh_TW
│       │       └── LC_MESSAGES
│       │           └── apt.mo
│       └── man
│           ├── de
│           │   ├── man5
│           │   │   ├── apt.conf.5.gz
│           │   │   └── apt_preferences.5.gz
│           │   └── man8
│           │       ├── apt-cache.8.gz
│           │       ├── apt-cdrom.8.gz
│           │       ├── apt-config.8.gz
│           │       ├── apt-get.8.gz
│           │       └── apt-key.8.gz
│           ├── es
│           │   ├── man5
│           │   │   ├── apt.conf.5.gz
│           │   │   └── apt_preferences.5.gz
│           │   └── man8
│           │       ├── apt-cache.8.gz
│           │       ├── apt-cdrom.8.gz
│           │       ├── apt-config.8.gz
│           │       └── apt-key.8.gz
│           ├── fr
│           │   ├── man5
│           │   │   ├── apt.conf.5.gz
│           │   │   └── apt_preferences.5.gz
│           │   └── man8
│           │       ├── apt-cache.8.gz
│           │       ├── apt-cdrom.8.gz
│           │       ├── apt-config.8.gz
│           │       ├── apt-get.8.gz
│           │       └── apt-key.8.gz
│           ├── it
│           │   ├── man5
│           │   │   ├── apt.conf.5.gz
│           │   │   ├── apt_preferences.5.gz
│           │   │   └── sources.list.5.gz
│           │   └── man8
│           │       ├── apt.8.gz
│           │       ├── apt-cache.8.gz
│           │       ├── apt-cdrom.8.gz
│           │       ├── apt-config.8.gz
│           │       ├── apt-get.8.gz
│           │       ├── apt-key.8.gz
│           │       ├── apt-mark.8.gz
│           │       └── apt-secure.8.gz
│           ├── ja
│           │   ├── man5
│           │   │   ├── apt.conf.5.gz
│           │   │   ├── apt_preferences.5.gz
│           │   │   └── sources.list.5.gz
│           │   └── man8
│           │       ├── apt.8.gz
│           │       ├── apt-cache.8.gz
│           │       ├── apt-cdrom.8.gz
│           │       ├── apt-config.8.gz
│           │       ├── apt-get.8.gz
│           │       ├── apt-key.8.gz
│           │       ├── apt-mark.8.gz
│           │       └── apt-secure.8.gz
│           ├── man5
│           │   ├── apt.conf.5.gz
│           │   ├── apt_preferences.5.gz
│           │   └── sources.list.5.gz
│           ├── man8
│           │   ├── apt.8.gz
│           │   ├── apt-cache.8.gz
│           │   ├── apt-cdrom.8.gz
│           │   ├── apt-config.8.gz
│           │   ├── apt-get.8.gz
│           │   ├── apt-key.8.gz
│           │   ├── apt-mark.8.gz
│           │   └── apt-secure.8.gz
│           ├── nl
│           │   ├── man5
│           │   │   ├── apt.conf.5.gz
│           │   │   ├── apt_preferences.5.gz
│           │   │   └── sources.list.5.gz
│           │   └── man8
│           │       ├── apt.8.gz
│           │       ├── apt-cache.8.gz
│           │       ├── apt-cdrom.8.gz
│           │       ├── apt-config.8.gz
│           │       ├── apt-get.8.gz
│           │       ├── apt-key.8.gz
│           │       ├── apt-mark.8.gz
│           │       └── apt-secure.8.gz
│           ├── pl
│           │   ├── man5
│           │   │   └── apt_preferences.5.gz
│           │   └── man8
│           │       ├── apt-cache.8.gz
│           │       ├── apt-cdrom.8.gz
│           │       ├── apt-config.8.gz
│           │       └── apt-key.8.gz
│           └── pt
│               ├── man5
│               │   ├── apt.conf.5.gz
│               │   └── apt_preferences.5.gz
│               └── man8
│                   ├── apt-cache.8.gz
│                   ├── apt-cdrom.8.gz
│                   ├── apt-config.8.gz
│                   ├── apt-get.8.gz
│                   └── apt-key.8.gz
└── var
    ├── cache
    │   └── apt
    │       └── archives
    │           └── partial
    ├── lib
    │   └── apt
    │       ├── lists
    │       │   └── partial
    │       ├── mirrors
    │       │   └── partial
    │       └── periodic
    └── log
        └── apt

161 directories, 167 files

若有安裝這個套件的話,可執行

$ dpkg -L apt

顯示

/.
/etc
/etc/logrotate.d
/etc/logrotate.d/apt
/etc/kernel
/etc/kernel/postinst.d
/etc/kernel/postinst.d/apt-auto-removal
/etc/cron.daily
/etc/cron.daily/apt-compat
/etc/apt
/etc/apt/trusted.gpg.d
/etc/apt/sources.list.d
/etc/apt/preferences.d
/etc/apt/apt.conf.d
/etc/apt/apt.conf.d/01autoremove
/etc/apt/apt.conf.d/01-vendor-ubuntu
/lib
/lib/systemd
/lib/systemd/system
/lib/systemd/system/apt-daily.timer
/lib/systemd/system/apt-daily.service
/var
/var/lib
/var/lib/apt
/var/lib/apt/lists
/var/lib/apt/lists/partial
/var/lib/apt/periodic
/var/lib/apt/mirrors
/var/lib/apt/mirrors/partial
/var/cache
/var/cache/apt
/var/cache/apt/archives
/var/cache/apt/archives/partial
/var/log
/var/log/apt
/usr
/usr/bin
/usr/bin/apt-config
/usr/bin/apt-cdrom
/usr/bin/apt-get
/usr/bin/apt
/usr/bin/apt-cache
/usr/bin/apt-key
/usr/bin/apt-mark
/usr/lib
/usr/lib/dpkg
/usr/lib/dpkg/methods
/usr/lib/dpkg/methods/apt
/usr/lib/dpkg/methods/apt/desc.apt
/usr/lib/dpkg/methods/apt/update
/usr/lib/dpkg/methods/apt/names
/usr/lib/dpkg/methods/apt/setup
/usr/lib/dpkg/methods/apt/install
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libapt-private.so.0.0.0
/usr/lib/apt
/usr/lib/apt/apt.systemd.daily
/usr/lib/apt/methods
/usr/lib/apt/methods/rred
/usr/lib/apt/methods/store
/usr/lib/apt/methods/gpgv
/usr/lib/apt/methods/http
/usr/lib/apt/methods/ftp
/usr/lib/apt/methods/cdrom
/usr/lib/apt/methods/copy
/usr/lib/apt/methods/rsh
/usr/lib/apt/methods/file
/usr/lib/apt/methods/mirror
/usr/lib/apt/solvers
/usr/lib/apt/apt-helper
/usr/share
/usr/share/bug
/usr/share/bug/apt
/usr/share/bug/apt/script
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/apt
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/apt
/usr/share/locale
/usr/share/locale/ko
/usr/share/locale/ko/LC_MESSAGES
/usr/share/locale/ko/LC_MESSAGES/apt.mo
/usr/share/locale/uk
/usr/share/locale/uk/LC_MESSAGES
/usr/share/locale/uk/LC_MESSAGES/apt.mo
/usr/share/locale/ne
/usr/share/locale/ne/LC_MESSAGES
/usr/share/locale/ne/LC_MESSAGES/apt.mo
/usr/share/locale/ku
/usr/share/locale/ku/LC_MESSAGES
/usr/share/locale/ku/LC_MESSAGES/apt.mo
/usr/share/locale/ast
/usr/share/locale/ast/LC_MESSAGES
/usr/share/locale/ast/LC_MESSAGES/apt.mo
/usr/share/locale/dz
/usr/share/locale/dz/LC_MESSAGES
/usr/share/locale/dz/LC_MESSAGES/apt.mo
/usr/share/locale/nl
/usr/share/locale/nl/LC_MESSAGES
/usr/share/locale/nl/LC_MESSAGES/apt.mo
/usr/share/locale/fr
/usr/share/locale/fr/LC_MESSAGES
/usr/share/locale/fr/LC_MESSAGES/apt.mo
/usr/share/locale/ca
/usr/share/locale/ca/LC_MESSAGES
/usr/share/locale/ca/LC_MESSAGES/apt.mo
/usr/share/locale/ja
/usr/share/locale/ja/LC_MESSAGES
/usr/share/locale/ja/LC_MESSAGES/apt.mo
/usr/share/locale/tr
/usr/share/locale/tr/LC_MESSAGES
/usr/share/locale/tr/LC_MESSAGES/apt.mo
/usr/share/locale/hu
/usr/share/locale/hu/LC_MESSAGES
/usr/share/locale/hu/LC_MESSAGES/apt.mo
/usr/share/locale/nn
/usr/share/locale/nn/LC_MESSAGES
/usr/share/locale/nn/LC_MESSAGES/apt.mo
/usr/share/locale/sl
/usr/share/locale/sl/LC_MESSAGES
/usr/share/locale/sl/LC_MESSAGES/apt.mo
/usr/share/locale/mr
/usr/share/locale/mr/LC_MESSAGES
/usr/share/locale/mr/LC_MESSAGES/apt.mo
/usr/share/locale/fi
/usr/share/locale/fi/LC_MESSAGES
/usr/share/locale/fi/LC_MESSAGES/apt.mo
/usr/share/locale/ar
/usr/share/locale/ar/LC_MESSAGES
/usr/share/locale/ar/LC_MESSAGES/apt.mo
/usr/share/locale/pl
/usr/share/locale/pl/LC_MESSAGES
/usr/share/locale/pl/LC_MESSAGES/apt.mo
/usr/share/locale/pt_BR
/usr/share/locale/pt_BR/LC_MESSAGES
/usr/share/locale/pt_BR/LC_MESSAGES/apt.mo
/usr/share/locale/ro
/usr/share/locale/ro/LC_MESSAGES
/usr/share/locale/ro/LC_MESSAGES/apt.mo
/usr/share/locale/pt
/usr/share/locale/pt/LC_MESSAGES
/usr/share/locale/pt/LC_MESSAGES/apt.mo
/usr/share/locale/da
/usr/share/locale/da/LC_MESSAGES
/usr/share/locale/da/LC_MESSAGES/apt.mo
/usr/share/locale/lt
/usr/share/locale/lt/LC_MESSAGES
/usr/share/locale/lt/LC_MESSAGES/apt.mo
/usr/share/locale/eu
/usr/share/locale/eu/LC_MESSAGES
/usr/share/locale/eu/LC_MESSAGES/apt.mo
/usr/share/locale/ru
/usr/share/locale/ru/LC_MESSAGES
/usr/share/locale/ru/LC_MESSAGES/apt.mo
/usr/share/locale/gl
/usr/share/locale/gl/LC_MESSAGES
/usr/share/locale/gl/LC_MESSAGES/apt.mo
/usr/share/locale/zh_TW
/usr/share/locale/zh_TW/LC_MESSAGES
/usr/share/locale/zh_TW/LC_MESSAGES/apt.mo
/usr/share/locale/vi
/usr/share/locale/vi/LC_MESSAGES
/usr/share/locale/vi/LC_MESSAGES/apt.mo
/usr/share/locale/th
/usr/share/locale/th/LC_MESSAGES
/usr/share/locale/th/LC_MESSAGES/apt.mo
/usr/share/locale/cy
/usr/share/locale/cy/LC_MESSAGES
/usr/share/locale/cy/LC_MESSAGES/apt.mo
/usr/share/locale/el
/usr/share/locale/el/LC_MESSAGES
/usr/share/locale/el/LC_MESSAGES/apt.mo
/usr/share/locale/it
/usr/share/locale/it/LC_MESSAGES
/usr/share/locale/it/LC_MESSAGES/apt.mo
/usr/share/locale/km
/usr/share/locale/km/LC_MESSAGES
/usr/share/locale/km/LC_MESSAGES/apt.mo
/usr/share/locale/sk
/usr/share/locale/sk/LC_MESSAGES
/usr/share/locale/sk/LC_MESSAGES/apt.mo
/usr/share/locale/zh_CN
/usr/share/locale/zh_CN/LC_MESSAGES
/usr/share/locale/zh_CN/LC_MESSAGES/apt.mo
/usr/share/locale/tl
/usr/share/locale/tl/LC_MESSAGES
/usr/share/locale/tl/LC_MESSAGES/apt.mo
/usr/share/locale/nb
/usr/share/locale/nb/LC_MESSAGES
/usr/share/locale/nb/LC_MESSAGES/apt.mo
/usr/share/locale/bg
/usr/share/locale/bg/LC_MESSAGES
/usr/share/locale/bg/LC_MESSAGES/apt.mo
/usr/share/locale/es
/usr/share/locale/es/LC_MESSAGES
/usr/share/locale/es/LC_MESSAGES/apt.mo
/usr/share/locale/de
/usr/share/locale/de/LC_MESSAGES
/usr/share/locale/de/LC_MESSAGES/apt.mo
/usr/share/locale/bs
/usr/share/locale/bs/LC_MESSAGES
/usr/share/locale/bs/LC_MESSAGES/apt.mo
/usr/share/locale/cs
/usr/share/locale/cs/LC_MESSAGES
/usr/share/locale/cs/LC_MESSAGES/apt.mo
/usr/share/locale/sv
/usr/share/locale/sv/LC_MESSAGES
/usr/share/locale/sv/LC_MESSAGES/apt.mo
/usr/share/doc
/usr/share/doc/apt
/usr/share/doc/apt/examples
/usr/share/doc/apt/examples/sources.list
/usr/share/doc/apt/examples/configure-index.gz
/usr/share/doc/apt/examples/apt.conf
/usr/share/doc/apt/examples/apt-https-method-example.conf.gz
/usr/share/doc/apt/copyright
/usr/share/man
/usr/share/man/nl
/usr/share/man/nl/man8
/usr/share/man/nl/man8/apt-key.8.gz
/usr/share/man/nl/man8/apt-secure.8.gz
/usr/share/man/nl/man8/apt.8.gz
/usr/share/man/nl/man8/apt-cache.8.gz
/usr/share/man/nl/man8/apt-config.8.gz
/usr/share/man/nl/man8/apt-mark.8.gz
/usr/share/man/nl/man8/apt-get.8.gz
/usr/share/man/nl/man8/apt-cdrom.8.gz
/usr/share/man/nl/man5
/usr/share/man/nl/man5/sources.list.5.gz
/usr/share/man/nl/man5/apt_preferences.5.gz
/usr/share/man/nl/man5/apt.conf.5.gz
/usr/share/man/fr
/usr/share/man/fr/man8
/usr/share/man/fr/man8/apt-key.8.gz
/usr/share/man/fr/man8/apt-cache.8.gz
/usr/share/man/fr/man8/apt-config.8.gz
/usr/share/man/fr/man8/apt-get.8.gz
/usr/share/man/fr/man8/apt-cdrom.8.gz
/usr/share/man/fr/man5
/usr/share/man/fr/man5/apt_preferences.5.gz
/usr/share/man/fr/man5/apt.conf.5.gz
/usr/share/man/man8
/usr/share/man/man8/apt-key.8.gz
/usr/share/man/man8/apt-secure.8.gz
/usr/share/man/man8/apt.8.gz
/usr/share/man/man8/apt-cache.8.gz
/usr/share/man/man8/apt-config.8.gz
/usr/share/man/man8/apt-mark.8.gz
/usr/share/man/man8/apt-get.8.gz
/usr/share/man/man8/apt-cdrom.8.gz
/usr/share/man/ja
/usr/share/man/ja/man8
/usr/share/man/ja/man8/apt-key.8.gz
/usr/share/man/ja/man8/apt-secure.8.gz
/usr/share/man/ja/man8/apt.8.gz
/usr/share/man/ja/man8/apt-cache.8.gz
/usr/share/man/ja/man8/apt-config.8.gz
/usr/share/man/ja/man8/apt-mark.8.gz
/usr/share/man/ja/man8/apt-get.8.gz
/usr/share/man/ja/man8/apt-cdrom.8.gz
/usr/share/man/ja/man5
/usr/share/man/ja/man5/sources.list.5.gz
/usr/share/man/ja/man5/apt_preferences.5.gz
/usr/share/man/ja/man5/apt.conf.5.gz
/usr/share/man/pl
/usr/share/man/pl/man8
/usr/share/man/pl/man8/apt-key.8.gz
/usr/share/man/pl/man8/apt-cache.8.gz
/usr/share/man/pl/man8/apt-config.8.gz
/usr/share/man/pl/man8/apt-cdrom.8.gz
/usr/share/man/pl/man5
/usr/share/man/pl/man5/apt_preferences.5.gz
/usr/share/man/pt
/usr/share/man/pt/man8
/usr/share/man/pt/man8/apt-key.8.gz
/usr/share/man/pt/man8/apt-cache.8.gz
/usr/share/man/pt/man8/apt-config.8.gz
/usr/share/man/pt/man8/apt-get.8.gz
/usr/share/man/pt/man8/apt-cdrom.8.gz
/usr/share/man/pt/man5
/usr/share/man/pt/man5/apt_preferences.5.gz
/usr/share/man/pt/man5/apt.conf.5.gz
/usr/share/man/it
/usr/share/man/it/man8
/usr/share/man/it/man8/apt-key.8.gz
/usr/share/man/it/man8/apt-secure.8.gz
/usr/share/man/it/man8/apt.8.gz
/usr/share/man/it/man8/apt-cache.8.gz
/usr/share/man/it/man8/apt-config.8.gz
/usr/share/man/it/man8/apt-mark.8.gz
/usr/share/man/it/man8/apt-get.8.gz
/usr/share/man/it/man8/apt-cdrom.8.gz
/usr/share/man/it/man5
/usr/share/man/it/man5/sources.list.5.gz
/usr/share/man/it/man5/apt_preferences.5.gz
/usr/share/man/it/man5/apt.conf.5.gz
/usr/share/man/man5
/usr/share/man/man5/sources.list.5.gz
/usr/share/man/man5/apt_preferences.5.gz
/usr/share/man/man5/apt.conf.5.gz
/usr/share/man/es
/usr/share/man/es/man8
/usr/share/man/es/man8/apt-key.8.gz
/usr/share/man/es/man8/apt-cache.8.gz
/usr/share/man/es/man8/apt-config.8.gz
/usr/share/man/es/man8/apt-cdrom.8.gz
/usr/share/man/es/man5
/usr/share/man/es/man5/apt_preferences.5.gz
/usr/share/man/es/man5/apt.conf.5.gz
/usr/share/man/de
/usr/share/man/de/man8
/usr/share/man/de/man8/apt-key.8.gz
/usr/share/man/de/man8/apt-cache.8.gz
/usr/share/man/de/man8/apt-config.8.gz
/usr/share/man/de/man8/apt-get.8.gz
/usr/share/man/de/man8/apt-cdrom.8.gz
/usr/share/man/de/man5
/usr/share/man/de/man5/apt_preferences.5.gz
/usr/share/man/de/man5/apt.conf.5.gz
/usr/lib/x86_64-linux-gnu/libapt-private.so.0.0
/usr/lib/apt/methods/ssh
/usr/lib/apt/methods/bzip2
/usr/lib/apt/methods/gzip
/usr/lib/apt/methods/lzma
/usr/lib/apt/methods/xz
/usr/share/doc/apt/changelog.gz
/usr/share/doc/apt/NEWS.Debian.gz

manpage

執行

$ dpkg -L apt | grep '/man/man.*/'

顯示

/usr/share/man/man8/apt-key.8.gz
/usr/share/man/man8/apt-secure.8.gz
/usr/share/man/man8/apt.8.gz
/usr/share/man/man8/apt-cache.8.gz
/usr/share/man/man8/apt-config.8.gz
/usr/share/man/man8/apt-mark.8.gz
/usr/share/man/man8/apt-get.8.gz
/usr/share/man/man8/apt-cdrom.8.gz
/usr/share/man/man5/sources.list.5.gz
/usr/share/man/man5/apt_preferences.5.gz
/usr/share/man/man5/apt.conf.5.gz

下載 Source Package

執行

$ apt source apt

會下載「apt」這個「Source Package」

套件資訊

網址: http://packages.ubuntu.com/xenial/apt

執行

$ apt show apt

顯示

Package: apt
Version: 1.2.10ubuntu1
Priority: important
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: APT Development Team <deity@lists.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3,370 kB
Depends: libapt-pkg5.0 (>= 1.2.2), libc6 (>= 2.15), libgcc1 (>= 1:3.0), libstdc++6 (>= 5.2), init-system-helpers (>= 1.18~), ubuntu-keyring, gpgv | gpgv2, gnupg | gnupg2, adduser
Suggests: aptitude | synaptic | wajig, dpkg-dev (>= 1.17.2), apt-doc, python-apt
Breaks: apt-utils (<< 1.1.3), manpages-it (<< 2.80-4~), manpages-pl (<< 20060617-3~), openjdk-6-jdk (<< 6b24-1.11-0ubuntu1~), sun-java5-jdk (>> 0), sun-java6-jdk (>> 0)
Replaces: bash-completion (<< 1:2.1-4.2+fakesync1), manpages-it (<< 2.80-4~), manpages-pl (<< 20060617-3~), openjdk-6-jdk (<< 6b24-1.11-0ubuntu1~), sun-java5-jdk (>> 0), sun-java6-jdk (>> 0)
Task: minimal
Build-Essential: yes
Supported: 5y
Download-Size: 1,034 kB
APT-Manual-Installed: yes
APT-Sources: http://tw.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
Description: commandline package manager
 This package provides commandline tools for searching and
 managing as well as querying information about packages
 as a low-level access to all features of the libapt-pkg library.
 .
 These include:
  * apt-get for retrieval of packages and information about them
    from authenticated sources and for installation, upgrade and
    removal of packages together with their dependencies
  * apt-cache for querying available information about installed
    as well as installable packages
  * apt-cdrom to use removable media as a source for packages
  * apt-config as an interface to the configuration settings
  * apt-key as an interface to manage authentication keys

源碼套件資訊

網址: http://packages.ubuntu.com/source/xenial/apt

執行

$ apt showsrc apt

顯示

Package: apt
Binary: apt, libapt-pkg5.0, libapt-inst2.0, apt-doc, libapt-pkg-dev, libapt-pkg-doc, apt-utils, apt-transport-https
Version: 1.2.10ubuntu1
Priority: important
Section: admin
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: APT Development Team <deity@lists.debian.org>
Build-Depends: dpkg-dev (>= 1.17.14), debhelper (>= 9.20141010), libdb-dev, gettext (>= 0.12), libcurl4-gnutls-dev (>= 7.19.4~), zlib1g-dev, libbz2-dev, liblzma-dev, liblz4-dev (>= 0.0~r126), xsltproc, docbook-xsl, docbook-xml, po4a (>= 0.34-2), autotools-dev, autoconf, automake, libgtest-dev <!nocheck>, dh-systemd
Build-Depends-Indep: doxygen, w3m, graphviz
Build-Conflicts: autoconf2.13, automake1.4
Architecture: any all
Standards-Version: 3.9.7
Format: 3.0 (native)
Directory: pool/main/a/apt
Files:
 06bafb7bcb58d1bb3462309059fc00a2 2464 apt_1.2.10ubuntu1.dsc
 c3b5a2667286019a322990de98a3e792 2039372 apt_1.2.10ubuntu1.tar.xz
Uploaders: Michael Vogt <mvo@debian.org>, Julian Andres Klode <jak@debian.org>
Vcs-Browser: https://anonscm.debian.org/cgit/apt/apt.git
Vcs-Git: git://anonscm.debian.org/apt/apt.git
Testsuite: autopkgtest
Package-List:
 apt deb admin important arch=any
 apt-doc deb doc optional arch=all
 apt-transport-https deb admin optional arch=any
 apt-utils deb admin important arch=any
 libapt-inst2.0 deb libs important arch=any
 libapt-pkg-dev deb libdevel optional arch=any
 libapt-pkg-doc deb doc optional arch=all
 libapt-pkg5.0 deb libs important arch=any
Checksums-Sha1:
 e8f617a5718878b5df3a61561ee09ecad07153ff 2464 apt_1.2.10ubuntu1.dsc
 f2e9a558bdf3d36a190536c42bee45622db804f6 2039372 apt_1.2.10ubuntu1.tar.xz
Checksums-Sha256:
 ad64171b6108093ed18c83b7f08b41d080001d399fdab0f68c0501b370eb34ac 2464 apt_1.2.10ubuntu1.dsc
 888fc2bd4c11d65fd40c3831335d1fc4843b807cd9be9a489dcfb8ffa05a75cc 2039372 apt_1.2.10ubuntu1.tar.xz