...

/

Install Ansible on Ubuntu

Install Ansible on Ubuntu

Learn how to install Ansible in the Linux Ubuntu distribution using APT.

Installing Ansible in Ubuntu is easy because the package is in the system repository. We can apply the same steps in any Linux distribution based on the DEB package format managed by the APT package manager (Debian, Ubuntu, Linux Mint, MX Linux, Deepin, AntiX, PureOS, Kali Linux, Parrot OS, Devuan, Knoppix, AV Linux). We make sure to execute our commands as root user or use the sudo command for privilege escalation.

Installation options

We can install Ansible in Ubuntu in ...