Shell/Bash: install ansible Example

By

Shell/Bash Example: This is the "install ansible" Example. compiled from many sources on the internet by SimpleTutorials.org

Install ansible

On Fedora:
$ sudo dnf install ansible

On RHEL and CentOS:
$ sudo yum install ansible

On Ubuntu:
$ sudo apt-add-repository --yes --update ppa:ansible/ansible
$ sudo apt install ansible

Using PIP:
$ pip install --user ansible

On Alpine:
$ apk add ansible

install ansible in ubuntu

On Fedora:
$ sudo dnf install ansible

On RHEL and CentOS:
$ sudo yum install ansible

On Ubuntu:
$ sudo apt-add-repository --yes --update ppa:ansible/ansible
$ sudo apt install ansible

Using PIP:
$ pip install --user ansible

On Alpine:
$ apk add ansible

sudo apt install ansible

how to install ansible in centos

[[email protected] ~]# yum install ansible

install ansible on linux

$sudo pip3 install ansible

install ansible in redhat

RHEL-8.2.0

then install python3
----yum install python3

then for installing ansible required python pipe
----yum -y install python3-pip


now install ansible by using pip3
----pip3 install ansible


* Summary: This "install ansible" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others