dpkg

dpkg -l ansible

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-===============================================================
ii  ansible        2.9.6+dfsg-1 all          Configuration management, deployment, and task execution system

dpkg -s ansible

Package: ansible
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 56658
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: all
Version: 2.9.6+dfsg-1
Depends: python3-cryptography, python3-jinja2, python3-yaml, python3:any, openssh-client | python3-paramiko, python3-crypto, python3-distutils, python3-dnspython, python3-httplib2, python3-netaddr
Recommends: python3-argcomplete, python3-jmespath, python3-kerberos, python3-libcloud, python3-selinux, python3-winrm, python3-xmltodict
Suggests: cowsay, sshpass
Conffiles:
 /etc/ansible/ansible.cfg 9b86926c0c703847d5e32f31d92a93bd
 /etc/ansible/hosts 4055cf29cf68f9558fae346c66554091
Description: Configuration management, deployment, and task execution system
 Ansible is a radically simple model-driven configuration management,
 multi-node deployment, and remote task execution system. Ansible works
 over SSH and does not require any software or daemons to be installed
 on remote nodes. Extension modules can be written in any language and
 are transferred to managed machines automatically.
Original-Maintainer: Harlan Lieberman-Berg <hlieberman@debian.org>
Homepage: https://www.ansible.com

dpkg -S /etc/ansible/hosts

ansible: /etc/ansible/hosts

dpkg -c 查看软件包内容

dpkg -L 查看软件包安装位置

posted @ 2022-06-28 10:31  武平宁  阅读(57)  评论(0)    收藏  举报