Fabric

Mac [#l47ebc89]

環境 [#oc1dbe69]

-Mac OS X Elcapitan(10.11.2) -Homebrew 0.9.5

Phytonのインストール [#zd30e91f]

 $ brew install python --framework
 $ which python
 /usr/bin/python
 $ python -V
 Python 2.7.10
 

pipをインストール(easy_install) [#z1672843]

 $ which easy_install
 /usr/bin/easy_install
 $ sudo easy_install pip
 $ which pip
 /usr/local/bin/pip

virtenvのインストール [#ma3aa985]

 $ sudo pip install virtualenv
 $ which virtualenv
 /usr/local/bin/virtualenv
 $ cd /ust/local/
 $ sudo virtualenv python
 $ cd python

fabricのインストール [#qdf2c254]

 $ sudo pip install fabric
 $ which fab
 /usr/local/bin/fab
 $ fab -V
 Fabric 1.10.2
 Paramiko 1.16.0

参考URL [#u25f87c5]

http://changesworlds.com/2015/04/how-to-install-fabric-on-xmarvericks/

CentOS [#a3c69d0c]

環境 [#i38ce1af]

-CentOS6.7 -Python2.6.6

インストール手順 [#m64db415]

 # python -V
 Python 2.6.6
 # which pip
 /usr/bin/pip
 # pip install fabric
 # which fab
 /usr/bin/fab