patool/doc/install.txt

39 lines
967 B
Plaintext
Raw Permalink Normal View History

2012-03-12 20:32:53 +00:00
Installation
============
First, install the required software.
1. Python >= 2.7 from https://www.python.org/
2021-09-13 13:28:10 +00:00
2012-03-12 20:32:53 +00:00
Now install the application.
2013-02-21 16:50:08 +00:00
1. Installation with pip
If you have pip installed: ``pip install patool``
2. Installation from source
2012-03-12 20:32:53 +00:00
a) Installation as root
2021-09-13 13:28:10 +00:00
2012-03-12 20:32:53 +00:00
Run ``sudo python setup.py install`` to install patool.
2021-09-13 13:28:10 +00:00
2012-03-12 20:32:53 +00:00
b) Installation as a normal user
2021-09-13 13:28:10 +00:00
2012-03-12 20:32:53 +00:00
Run ``python setup.py install --home $HOME``. Note that you have
2021-09-13 13:27:55 +00:00
to adjust your PATH and PYTHONPATH environment variables, e.g. by
2012-03-12 20:32:53 +00:00
adding the commands ``export PYTHONPATH=$HOME/lib/python`` and
``export PATH=$PATH:$HOME/bin`` to your shell configuration
file.
2021-09-13 13:28:10 +00:00
2012-03-12 20:32:53 +00:00
For more information look at the `Modifying Python's search path`_
documentation.
2021-09-13 13:28:10 +00:00
2012-03-12 20:32:53 +00:00
.. _Modifying Python's search path:
http://docs.python.org/inst/search-path.html#SECTION000410000000000000000
After installation
------------------
Patool is now installed. Have fun!