# need to install ansible on my solaris 11,can any1 suggest me plz

**URL:** <https://forum.ansible.com/t/need-to-install-ansible-on-my-solaris-11-can-any1-suggest-me-plz/25608>\
**Category:** Ansible Project\
**Created:** [September 27, 2017, 8:51am UTC](https://forum.ansible.com/t/need-to-install-ansible-on-my-solaris-11-can-any1-suggest-me-plz/25608 "2017-09-27T08:51:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![adnnan2024](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@adnnan2024](https://forum.ansible.com/u/adnnan2024)\
**Post date:** [September 27, 2017, 8:51am UTC](https://forum.ansible.com/t/need-to-install-ansible-on-my-solaris-11-can-any1-suggest-me-plz/25608/1 "2017-09-27T08:51:45Z")

</div>

need to install ansible on my solaris 11,can any1 suggest me plz

---

<div class="post-metadata">

**Author:** ![adnnan2024](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@adnnan2024](https://forum.ansible.com/u/adnnan2024)\
**Post date:** [September 27, 2017, 9:37am UTC](https://forum.ansible.com/t/need-to-install-ansible-on-my-solaris-11-can-any1-suggest-me-plz/25608/2 "2017-09-27T09:37:17Z")

</div>

Thanks indeed for your help,but i have already tried this but i am still stuck but big thanks.

Br

---

<div class="post-metadata">

**Author:** ![Soniya\_panwar](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@Soniya\_panwar](https://forum.ansible.com/u/Soniya_panwar)\
**Post date:** [September 27, 2017, 9:45am UTC](https://forum.ansible.com/t/need-to-install-ansible-on-my-solaris-11-can-any1-suggest-me-plz/25608/3 "2017-09-27T09:45:25Z")

</div>

Hello,  
please find the steps to install ansible on solaris 11.2

Step:1 install gcc  
pkg install gcc

Step:2 install pip  
curl [https://bootstrap.pypa.io/get-pip.py](https://bootstrap.pypa.io/get-pip.py) | python -

Step:3 patch the python Makefile to remove KPIC option (use by studio compiler)  
perl -i.org -pe ‘s/-KPIC//’ /usr/lib/python2.6/config/Makefile

Step:4 install ansible  
pip install --global-option=build\_ext --global-option=“-I/usr/include/gmp” ansible

Step:5 restore original Makefile  
mv /usr/lib/python2.6/config/Makefile.org /usr/lib/python2.6/config/Makefile

Thanks

---

<div class="post-metadata">

**Author:** ![Soniya\_panwar](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@Soniya\_panwar](https://forum.ansible.com/u/Soniya_panwar)\
**Post date:** [September 27, 2017, 9:47am UTC](https://forum.ansible.com/t/need-to-install-ansible-on-my-solaris-11-can-any1-suggest-me-plz/25608/4 "2017-09-27T09:47:04Z")

</div>

can you please tell where exactly you stucked?

---

<div class="post-metadata">

**Author:** ![adnnan2024](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@adnnan2024](https://forum.ansible.com/u/adnnan2024)\
**Post date:** [September 27, 2017, 10:38am UTC](https://forum.ansible.com/t/need-to-install-ansible-on-my-solaris-11-can-any1-suggest-me-plz/25608/5 "2017-09-27T10:38:54Z")

</div>

hi,

Actually i will explain you my whole scenario, i have install and configure ansible on Centos7 and my clients for this ansible server are all other VMs which are having REDhat and Centos os.Now i want to do the same activity on a solaris machine.This solaris machine should act as a ansible server and i will connect all other oracle solaris machine as a client,so i am trying to install ansible it throws me bunch of errors,and ya are you on any wtsapp group i can share your error shots.

BR

---

<div class="post-metadata">

**Author:** ![adnnan2024](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@adnnan2024](https://forum.ansible.com/u/adnnan2024)\
**Post date:** [September 27, 2017, 11:01am UTC](https://forum.ansible.com/t/need-to-install-ansible-on-my-solaris-11-can-any1-suggest-me-plz/25608/6 "2017-09-27T11:01:23Z")

</div>

Hi

Can you take me trough this Step 3, i dont understand.

Step:3 patch the python Makefile to remove KPIC option (use by studio compiler)  
perl -[i.org](http://i.org/) -pe ‘s/-KPIC//’ /usr/lib/python2.6/config/Makefile

BR
