# Installation woes on RHEL6u2

**URL:** <https://forum.ansible.com/t/installation-woes-on-rhel6u2/11351>\
**Category:** Ansible Project\
**Created:** [March 15, 2012, 1:09pm UTC](https://forum.ansible.com/t/installation-woes-on-rhel6u2/11351 "2012-03-15T13:09:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gerhardus\_Geldenhuis](https://avatars.discourse-cdn.com/v4/letter/g/db5fbb/32.png) [@Gerhardus\_Geldenhuis](https://forum.ansible.com/u/Gerhardus_Geldenhuis)\
**Post date:** [March 15, 2012, 1:09pm UTC](https://forum.ansible.com/t/installation-woes-on-rhel6u2/11351/1 "2012-03-15T13:09:09Z")

</div>

Hi  
I am having problem getting ansible to work “out of the box” …

On a minimal RHEL6u2 installation I need to do the following to get it installed:

1 rpm -Uvh [http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm](http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm)  
2 yum install git -y  
12 yum install python-paramiko PyYAML python-jinja2-26  
14 git clone git://[github.com/ansible/ansible.git](http://github.com/ansible/ansible.git)

17 yum install make rpm-build python-devel

20 cd ansible/

22 make install # fails

23 make rpm # fails  
25 python setup.py install

this seems to work but when I run ansible I get:

Traceback (most recent call last):  
File “/usr/bin/ansible”, line 33, in   
import ansible.runner  
File “/usr/lib/python2.6/site-packages/ansible/runner.py”, line 29, in   
import jinja2  
ImportError: No module named jinja2

I am thus a bit stuck… asciidoc seems to have disappeared in rhel6 so the make steps all fail on the asciidoc dependency and doing a manual installation is giving me the above error.

Regards

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [March 15, 2012, 1:17pm UTC](https://forum.ansible.com/t/installation-woes-on-rhel6u2/11351/2 "2012-03-15T13:17:28Z")

</div>

Thanks for helping test this.

Looks like we forgot a dependency. Will fix tonight.

“yum install python-jinja2” for now.

As for asciidoc not being in EPEL, our move was to check in the man file source so “make rpm” would not have to build them.  
I’ll double check this to make sure a clean build works without asciidoc.

Pretty soon you will be able to get ansible direct from EPEL!

–Michael

---

<div class="post-metadata">

**Author:** ![Gerhardus\_Geldenhuis](https://avatars.discourse-cdn.com/v4/letter/g/db5fbb/32.png) [@Gerhardus\_Geldenhuis](https://forum.ansible.com/u/Gerhardus_Geldenhuis)\
**Post date:** [March 15, 2012, 1:24pm UTC](https://forum.ansible.com/t/installation-woes-on-rhel6u2/11351/3 "2012-03-15T13:24:39Z")

</div>

hmmmm

I did install python-jinja2-26 as that was the only package available.

yum install python-jinja2  
No package python-jinja2 available.  
Error: Nothing to do

Maybe it is also in the optional channel as skvidal suggested in irc.

Regards
