ubuntu中如何查看系统已经安装了哪些包
001、
root@ubuntu01:/home# dpkg -l
002、过滤特定的包
root@ubuntu01:/home# dpkg -l | grep "vim" ii vim 2:8.2.3995-1ubuntu2 amd64 Vi IMproved - enhanced vi editor ii vim-common 2:8.2.3995-1ubuntu2 all Vi IMproved - Common files ii vim-runtime 2:8.2.3995-1ubuntu2 all Vi IMproved - Runtime files ii vim-tiny 2:8.2.3995-1ubuntu2 amd64 Vi IMproved - enhanced vi editor - compact version