How to Install and Uninstall ansible Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 15,2024

1. Install "ansible" package

In this section, we are going to explain the necessary steps to install ansible on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install ansible

2. Uninstall "ansible" package

This guide covers the steps necessary to uninstall ansible on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the ansible package on Ubuntu 20.04 LTS (Focal Fossa)

Package: ansible
Architecture: all
Version: 2.9.6+dfsg-1
Priority: optional
Section: universe/admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Harlan Lieberman-Berg
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 56658
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
Filename: pool/universe/a/ansible/ansible_2.9.6+dfsg-1_all.deb
Size: 5794032
MD5sum: 5529484b690803aa249616984275447b
SHA1: 92ba3729a48f446d101a14e8102f11c42b00cb53
SHA256: aaa666e6d3c37bb6fc1d71cb4e1b3020fa02f9981bfa62ed2d38aa2d69547748
Homepage: https://www.ansible.com
Description: Configuration management, deployment, and task execution system
Description-md5: db2b21b0d2286fccc4401d5982361488