Skip to content

Commit 909f2a4

Browse files
committed
Improve CentOS 6 information.
1 parent 47cb63a commit 909f2a4

File tree

1 file changed

+30
-4
lines changed

1 file changed

+30
-4
lines changed

doc/source/installation.rst

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,41 @@ Or, if you have virtualenvwrapper installed::
3838

3939
$ mkvirtualenv caso
4040
$ pip install caso
41+
42+
CentOS 6
43+
********
4144

42-
On CentOS 6, you can use Software Collections to install Python 2.7 and then libffi-devel, which is also required::
45+
On CentOS 6, you can use Software Collections to install Python 2.7::
4346
4447
$ yum -y install centos-release-SCL
4548
$ yum -y install python27
46-
$ yum -y install libffi-devel
49+
50+
There are also some dependencies of the packages used by ``cASO`` that need to
51+
be installed (gcc, libffi-devel adn openssl-devel)::
52+
53+
$ yum -y install gcc libffi-devel openssl-devel
4754
48-
You can then install pip for that version of Python and use that to install ``cASO``::
55+
You can then install pip for that version of Python and use that to install
56+
``cASO``::
4957

50-
$ scl enable python27
58+
$ scl enable python27 bash
5159
$ easy_install-2.7 pip
5260
$ pip install caso
61+
$ exit # this terminates bash with the SCL python2.7
62+
63+
In this case you can later on use ``caso-extract`` with the following command
64+
line::
65+
66+
$ scl enable python27 caso-extract
67+
68+
Alternatively, if you want to use a virtualenv::
69+
70+
$ scl enable python27 bash
71+
$ virtualenv caso
72+
$ . caso/bin/activate
73+
$ pip install caso
74+
$ exit # this terminates bash with the SCL python2.7
75+
76+
Running from the virtualenv::
77+
78+
$ scl enable python27 caso/bin/caso-extract

0 commit comments

Comments
 (0)