ubuntu 查看已安装软件命令

一、查看所有已安装软件包

dpkg -l

二、过滤安装包

yang@ubuntu:~/ansible$ dpkg -l | grep vim 
ii  vim                                   2:8.1.2269-1ubuntu5.9                 amd64        Vi IMproved - enhanced vi editor
ii  vim-common                            2:8.1.2269-1ubuntu5.9                 all          Vi IMproved - Common files
ii  vim-runtime                           2:8.1.2269-1ubuntu5.9                 all          Vi IMproved - Runtime files
ii  vim-tiny                              2:8.1.2269-1ubuntu5.9                 amd64        Vi IMproved - enhanced vi editor - compact version

  

posted @ 2022-11-10 14:47  西瓜君~  阅读(931)  评论(0编辑  收藏  举报