# Installing Ansible on Ubuntu 18 on AWS

DevFeed: [Installing Ansible on Ubuntu 18 on AWS](<https://devfeed.tech/articles/installing-ansible-on-ubuntu-18-on-aws-28120.md>)

Original publisher: [Read original article](<http://fuzzyblog.io/blog/ansible/2020/05/12/installing-ansible-on-ubuntu-18.html>)

Author: Fuzzygroup

Published: 2020-05-12T00:00:00Z

Content type: tutorial

Language: en

Sources: [Scott Johnson](<https://devfeed.tech/sources/scott-johnson.md>)

Topics: [Ansible](<https://devfeed.tech/topics/ansible.md>), [Ubuntu](<https://devfeed.tech/topics/ubuntu.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [pip](<https://devfeed.tech/topics/pip.md>), [DevOps](<https://devfeed.tech/topics/devops.md>)

Tags: [ansible](<https://devfeed.tech/tags/ansible.md>), [apt](<https://devfeed.tech/tags/apt.md>), [aws](<https://devfeed.tech/tags/aws.md>), [commands](<https://devfeed.tech/tags/commands.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [devops](<https://devfeed.tech/tags/devops.md>), [install](<https://devfeed.tech/tags/install.md>), [installation](<https://devfeed.tech/tags/installation.md>), [linux](<https://devfeed.tech/tags/linux.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [python](<https://devfeed.tech/tags/python.md>), [server](<https://devfeed.tech/tags/server.md>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>)

## AI overview

A practical guide to installing Ansible on Ubuntu 18 for AWS, covering the required repository, package, Python pip, and boto or boto3 installation commands.

## Source excerpt

Ansible is an Open Source DevOps engine for systems configuration. Here is the process for installing Ansible on Ubuntu 18 for AWS. sudo apt-add-repository ppa:ansible/ansible sudo apt update sudo apt install ansible sudo apt install python-pip pip install boto3 --user pip install boto --user Note: The commands pip install boto3 -user / pip install boto -user - you only need one of these. Use boto3 if your Ansible installation is using python3 and boto if your Ansible is using python 2.x. As with a bunch of my shorter blog posts around installing software, this one is because I needed to install Ansible on a server for work and I figured that documenting it was likely useful (this is now the second time I've had to do it for this job and there will undoubtedly be a third). Sources Installing Ansible on Ubuntu Installing Boto on Linux