How to Install and Uninstall ansible-core Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: November 26,2024

1. Install "ansible-core" package

Please follow the instructions below to install ansible-core on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install ansible-core

2. Uninstall "ansible-core" package

Please follow the guidance below to uninstall ansible-core on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the ansible-core package on Ubuntu 24.04 LTS (Noble Numbat)

Package: ansible-core
Architecture: all
Version: 2.16.3-0ubuntu1
Priority: optional
Section: universe/admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Lee Garrett
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 7912
Depends: python3-cryptography, python3-jinja2 (>= 3.0.0~), python3-packaging, python3-resolvelib (<< 1.1.0), python3-yaml (>= 5.1~), python3:any, openssh-client | python3-paramiko (>= 2.6.0), python3-distutils, python3-dnspython, python3-httplib2, python3-netaddr
Recommends: ansible (>= 7.0.0-1~), python3-argcomplete, python3-jmespath, python3-kerberos, python3-libcloud, python3-passlib, python3-selinux, python3-winrm, python3-xmltodict
Suggests: cowsay, sshpass
Breaks: ansible (<< 4.6.0-1~), ansible-base
Replaces: ansible (<< 4.6.0-1~), ansible-base
Filename: pool/universe/a/ansible-core/ansible-core_2.16.3-0ubuntu1_all.deb
Size: 1280182
MD5sum: e77e0db509a202711a8c4e9cc934e239
SHA1: f163876bb3ec6c05212daa95a9bbda3a34e1e8bc
SHA256: 69a1662be85bece7663cc3ddb2fc00bf7b02c7926729c85bb38c0b9a0936b8f8
SHA512: face41c675a9566f929b2e488ed76a6264daed1924fcbc3b23ac68150e3e21e999726d7f3496a5c7d6d4f80e2c1bca034927dd9f6fc51426640b854d23feea84
Homepage: https://www.ansible.com
Description: Configuration management, deployment, and task execution system
Description-md5: 39f13fdea0830e3f5b062cdd49f63a59