How to Install and Uninstall ansible Package on Debian 12 (Bookworm)

Last updated: May 22,2024

1. Install "ansible" package

Please follow the guidance below to install ansible on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install ansible

2. Uninstall "ansible" package

Please follow the instructions below to uninstall ansible on Debian 12 (Bookworm):

$ sudo apt remove ansible $ sudo apt autoclean && sudo apt autoremove

3. Information about the ansible package on Debian 12 (Bookworm)

Package: ansible
Version: 7.3.0+dfsg-1
Installed-Size: 204261
Maintainer: Lee Garrett
Architecture: all
Replaces: ansible-base (<= 2.10.5+dfsg-2)
Depends: ansible-core (>= 2.11.5-1~), python3:any, openssh-client | python3-paramiko (>= 2.6.0), python3-distutils, python3-dnspython, python3-httplib2, python3-jinja2, python3-netaddr, python3-yaml
Recommends: python3-argcomplete, python3-cryptography, python3-jmespath, python3-kerberos, python3-libcloud, python3-selinux, python3-winrm, python3-xmltodict
Suggests: cowsay, sshpass
Breaks: ansible-base (<= 2.10.5+dfsg-2)
Description: Configuration management, deployment, and task execution system
Description-md5: 4f8f35d982ca2a9d6d35c1bb2053b0e1
Homepage: https://www.ansible.com
Tag: admin::automation, admin::configuring, admin::file-distribution,
admin::package-management, implemented-in::python,
interface::commandline, role::program, use::configuring,
works-with::software:running
Section: admin
Priority: optional
Filename: pool/main/a/ansible/ansible_7.3.0+dfsg-1_all.deb
Size: 16253908
MD5sum: 7b1b2cdc2cf66175fffc569031b7be49
SHA256: 14366f29001c3328e5025f862a301dd73f5ce3414a829ed2a5698456b6bee23e