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

Last updated: March 14,2025

1. Install "ansible-core" package

In this section, we are going to explain the necessary steps to install ansible-core on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install ansible-core

2. Uninstall "ansible-core" package

Please follow the step by step instructions below to uninstall ansible-core on Debian 12 (Bookworm):

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

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

Package: ansible-core
Version: 2.14.3-1
Installed-Size: 7831
Maintainer: Lee Garrett
Architecture: all
Replaces: ansible (<< 4.6.0-1~), ansible-base
Depends: python3-cryptography, python3-jinja2 (>= 3.0.0~), python3-packaging, python3-resolvelib (<< 0.10), python3-yaml (>= 5.1~), python3:any, openssh-client | python3-paramiko (>= 2.6.0), python3-pycryptodome, python3-distutils, python3-dnspython, python3-httplib2, python3-netaddr
Recommends: ansible (>= 7.0.0-1~), python3-argcomplete, python3-jmespath, python3-kerberos, python3-libcloud, python3-selinux, python3-winrm, python3-xmltodict
Suggests: cowsay, sshpass
Breaks: ansible (<< 4.6.0-1~), ansible-base
Description: Configuration management, deployment, and task execution system
Description-md5: 39f13fdea0830e3f5b062cdd49f63a59
Homepage: https://www.ansible.com
Section: admin
Priority: optional
Filename: pool/main/a/ansible-core/ansible-core_2.14.3-1_all.deb
Size: 1273120
MD5sum: a15866d91b09697c5f27d5ec4cc9cccd
SHA256: bf781630eb7b882050169566192d79f47c7885e90a76e05041240614d0481266