gpt4 book ai didi

linux - 如何在终端(Ubuntu)中查看所有已安装的包

转载 作者:太空宇宙 更新时间:2023-11-04 10:24:54 25 4
gpt4 key购买 nike

需要通过终端查看我系统上安装的所有包。我使用的是 ubuntu 16.10

最佳答案

# dpkg -l

来自 dpkg 手册:

dpkg-query actions See dpkg-query(1) for more information about the following actions.

          -l, --list package-name-pattern...
List packages matching given pattern.
-s, --status package-name...
Report status of specified package.
-L, --listfiles package-name...
List files installed to your system from package-name.
-S, --search filename-search-pattern...
Search for a filename from installed packages.
-p, --print-avail package-name...
Display details about package-name, as found in
/var/lib/dpkg/available. Users of APT-based frontends
should use apt-cache show package-name instead.

关于linux - 如何在终端(Ubuntu)中查看所有已安装的包,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42062998/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com