# Installing latest Ansible Version 2.1.0.0 on CentOS 6.8

**URL:** <https://forum.ansible.com/t/installing-latest-ansible-version-2-1-0-0-on-centos-6-8/21722>\
**Category:** Ansible Project\
**Created:** [June 9, 2016, 1:13pm UTC](https://forum.ansible.com/t/installing-latest-ansible-version-2-1-0-0-on-centos-6-8/21722 "2016-06-09T13:13:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kaushal\_Shriyan](https://avatars.discourse-cdn.com/v4/letter/k/838e76/32.png) [@Kaushal\_Shriyan](https://forum.ansible.com/u/Kaushal_Shriyan)\
**Post date:** [June 9, 2016, 1:13pm UTC](https://forum.ansible.com/t/installing-latest-ansible-version-2-1-0-0-on-centos-6-8/21722/1 "2016-06-09T13:13:50Z")

</div>

Hi,

I have installed Ansible application on CentOS 6.8 using yum after installing epel repo and i see the below version

#ansible --version  
**ansible 2.0.2.0**  
config file = /etc/ansible/ansible.cfg  
configured module search path = Default w/o overrides

#cat /etc/redhat-release  
CentOS release 6.8 (Final)

I referred to [https://en.wikipedia.org/wiki/Ansible\_(software)](https://en.wikipedia.org/wiki/Ansible_(software)) it say’s the latest version is 2.1.0.0 / May 25, 2016\*\*; 8 days ago\*\* Please let me know how do i get the latest version.

Any help is highly appreciable.

Regards,

Kaushal

---

<div class="post-metadata">

**Author:** ![Fraser\_Goffin](https://avatars.discourse-cdn.com/v4/letter/f/4af34b/32.png) [@Fraser\_Goffin](https://forum.ansible.com/u/Fraser_Goffin)\
**Post date:** [June 9, 2016, 11:39pm UTC](https://forum.ansible.com/t/installing-latest-ansible-version-2-1-0-0-on-centos-6-8/21722/2 "2016-06-09T23:39:28Z")

</div>

I did this very thing for Cento 7 only yesterday. I simply followed the instructions in the main Ansible docs for making an RPM from the stable-2.1 branch of the GitHub repo and it worked really well. The only gotcha is to make sure that you also clone all of the git submodules otherwise you won't include all of the latest Ansible module updates.

So just go here : [http://docs.ansible.com/ansible/intro\_installation.html#latest-release-via-yum](http://docs.ansible.com/ansible/intro_installation.html#latest-release-via-yum)

... and follow the part that starts :-

'You can also build an RPM yourself. From the root of a checkout or tarball, use the make rpm command to build an RPM you can distribute and install. Make sure you have rpm-build, make, asciidoc, git, python-setuptools and python2-devel installed......'

This blog is also somewhat useful :-

[http://mangolassi.it/topic/7506/installing-ansible-2-on-centos-7/2](http://mangolassi.it/topic/7506/installing-ansible-2-on-centos-7/2)

HTHs

Fraser.
