列出所有已安裝的包
要列出 ubuntu 中安裝的所有軟體包,請鍵入以下命令
$ apt list --installed
輸出將顯示所有已安裝的軟體包。
Listing... Done
accountsservice/trusty-updates,now 0.6.35-0ubuntu7.3 i386 [installed]
acl/trusty,now 2.2.52-1 i386 [installed,automatic]
acpid/trusty,now 1:2.0.21-1ubuntu2 i386 [installed]
adduser/trusty,now 3.113+nmu3ubuntu3 all [installed]
apparmor/trusty-updates,trusty-security,now 2.10.95-0ubuntu2.6~14.04.1 i386 [installed]
apport/trusty-security,now 2.14.1-0ubuntu3.23 all [installed,upgradable to: 2.14.1-0ubuntu3.24]
apport-symptoms/trusty,now 0.20 all [installed]
apt/trusty-updates,trusty-security,now 1.0.1ubuntu2.17 i386 [installed]
apt-transport-https/trusty-updates,trusty-security,now 1.0.1ubuntu2.17 i386 [installed]
apt-utils/trusty-updates,trusty-security,now 1.0.1ubuntu2.17 i386 [installed]
apt-xapian-index/trusty,now 0.45ubuntu4 all [installed]
aptitude/trusty,now 0.6.8.2-1ubuntu4 i386 [installed]