#使用help获取list的参数 dpkg --help |grep list #查看全部已安装的包 sudo dpkg -l sudo dpkg -l > *.txt #查看包名 dpkg -l |grep xxx