How to install the latest version of Ansible on Ubuntu? Jul 31, 2018 From this, the steps are: $ sudo apt update $ sudo apt install software-properties-common $ sudo apt-add-repository ppa:ansible/ansible $ sudo apt install ansible