Debian Package Manager - dpkg
程序员文章站
2022-05-31 09:29:44
...
dpkg - Debian Package Manager
1. dpkg --version
Display dpkg version information.
显示dpkg的版本信息
[email protected]:~$ dpkg --version
Debian 'dpkg' package management program version 1.18.4 (amd64).
This is free software; see the GNU General Public License version 2 or later for copying conditions. There is NO warranty.
2. dpkg -?, --help
Display a brief help message.
[email protected]:~$ dpkg -?
[email protected]:~$ dpkg --help
3. dpkg -P package / dpkg --purge package
Purge an installed or already removed package.
删除软件包,清除配置信息
[email protected]:~$ sudo dpkg -P youdao-dict
4. dpkg -r package / dpkg --remove package
Remove an installed package.
删除软件包,保留配置信息
[email protected]:~$ sudo dpkg -r youdao-dict
5. dpkg -l package-name-pattern… / dpkg --list package-name-pattern…
List packages matching given pattern.
[email protected]:~$ dpkg -l youdao-dict
6. dpkg -L package-name… / dpkg --listfiles package-name…
List files installed to your system from package-name.
[email protected]:~$ dpkg -L youdao-dict
7. dpkg -i package-file... / dpkg --install package-file...
Install the package. If --recursive or -R option is specified, package-file must refer to a directory instead.
上一篇: 时间同步
下一篇: node package manager
推荐阅读
-
RPM Package Manager
-
docker内安装vim、E: Unable to locate package vim、Could not connect to deb.debian.org:80
-
Linux dpkg-query 命令用法详解(Debian Linux中软件包的查询工具)
-
NPM(Node Package Manager,Node包管理器)
-
EBS:Inventory模块的两个package:INV_TXN_MANAGER_PUB&I
-
adb命令:pm package manager
-
Nix Package Manager Guide (3)
-
Debian Package Manager - dpkg
-
node package manager
-
NPM(node package manager)使用、语法介绍