<>dpkg的介绍

“dpkg ”是“Debian Packager ”的简写。为 “Debian”
专门开发的套件管理系统,方便软件的安装、更新及移除。所有源自“Debian”的“Linux ”发行版都使用 “dpkg”,例如
“Ubuntu”、“Knoppix ”等。

<>查看已经安装的包
dpkg -l |grep xxx
使用help获取list的参数
root@ubuntu:~# dpkg --help |grep list --get-selections [<pattern>...] Get list
of selections to stdout. -L|--listfiles <package>... List files 'owned' by
package(s). -l|--list [<pattern>...] List packages concisely. --add-architecture
<arch> Add <arch> to the list of architectures. --remove-architecture <arch>
Remove<arch> from the list of architectures.
<>例:查询openvpn包的安装信息
dpkg -l |grep vpn

技术
下载桌面版
GitHub
百度网盘(提取码:draw)
Gitee
云服务器优惠
阿里云优惠券
腾讯云优惠券
华为云优惠券
站点信息
问题反馈
邮箱:ixiaoyang8@qq.com
QQ群:766591547
关注微信