diff options
author | Amjith Ramanujam <amjith.r@gmail.com> | 2015-01-13 22:25:03 -0800 |
---|---|---|
committer | Amjith Ramanujam <amjith.r@gmail.com> | 2015-01-13 22:25:03 -0800 |
commit | 72ab7f6e87deb2e2167ff4d0b69bd0d6537e14a4 (patch) | |
tree | edd72c5eb036fce5f91d14901bfb702e1d729c82 /README.rst | |
parent | 07ed2edc1f12b6652c6f7104bbd9a87418e64af4 (diff) |
Update readme to mention the dev packages in linux. Fix #118
Diffstat (limited to 'README.rst')
-rw-r--r-- | README.rst | 39 |
1 files changed, 29 insertions, 10 deletions
@@ -17,6 +17,10 @@ If you already know how to install python packages, then you can simply do: $ pip install pgcli + or + + $ brew install pgcli # Only on OS X + If you don't know how to install python packages, please check the `detailed instructions`__. @@ -79,8 +83,17 @@ Detailed Installation Instructions: OS X: ===== -For installing Python packages it is recommended to use the package manager -called `pip`. Check if `pip` is installed on the system. +Easiest way to install pgcli is using brew. + +:: + + $ brew install pgcli + +Done! + +Alternatively, you can install ``pgcli`` as a python package using a package +manager called called ``pip``. You will need postgres installed on your system +for this to work. Check if ``pip`` is installed on the system. :: @@ -116,22 +129,28 @@ Check if pip is already available in your system. $ which pip -If it does then install pgcli using the pip command as follows: - -:: - - $ sudo pip install pgcli - If it doesn't exist, use your linux package manager to install `pip`. This might look something like: :: - $ sudo apt-get install python-pip + $ sudo apt-get install python-pip # Debian, Ubuntu, Mint etc or - $ sudo yum install python-pip + $ sudo yum install python-pip # RHEL, Centos, Fedora etc + +``pgcli`` requires python-dev, libpq-dev and libevent-dev packages. You can +install these via your operating system package manager. + + +:: + + $ sudo apt-get install python-dev libpq-dev libevent-dev + + or + + $ sudo yum install python-devel postgresql-devel Then you can install pgcli: |