3
single: Installation; Open ERP Client (Linux)
4
single: Open ERP Client; Installation (Linux)
7
.. _installation-linux-client-link:
9
OpenERP Client Installation
10
===========================
12
Installing the required packages
13
--------------------------------
15
You need to install **python** (at least version 2.4).
17
You also need to install the following python libraries:
19
* **gtk** and **glade** (at least version 2.10)
23
* **tz** (timezone library)
24
* **hippocanvas** (Python bindings to hippo-canvas. Hippocanvas is a canvas library based on GTK+2.0, Cairo and Pango)
28
You'll also need a pdf viewer (eg. xpdf, acroread, kpdf).
30
See the :ref:`configure-pdf-viewer-link` Section.
35
On Ubuntu, these libraries are available in the following packages:
41
* python-egenix-mxdatetime
46
To install the required libraries, you can do the following in your favorite shell: ::
48
sudo apt-get install python python-gtk2 python-glade2 \
49
python-matplotlib python-egenix-mxdatetime python-xml python-hippocanvas
51
Downloading the Open ERP Client
52
-------------------------------
54
The OpenERP client can be downloaded from
55
the `OpenERP website's download page <http://www.openerp.com/index.php?option=com_content&view=article&id=18&Itemid=28>`_
57
Testing the Open ERP Client
58
---------------------------
62
If you only want to test the client, you do not need to install it. Just unpack the
63
archive and start the openerp-client executable: ::
65
tar -xzf openerp-client-5.0.0.tar.gz
66
cd openerp-client-5.0.0/bin
67
python openerp-client.py
69
Installing the Open ERP Client
70
------------------------------
72
The client can be installed very easily using the *setup.py* file: ::
74
tar -xzf openerp-client-5.0.0.tar.gz
75
cd openerp-client-5.0.0
76
sudo python setup.py install
78
You can now run the client using the following command: ::
83
single: Open ERP Client; Configuring a pdf viewer
87
.. _configure-pdf-viewer-link:
89
Configuring a pdf viewer
90
------------------------
92
Open ERP client by default supports:
101
for previewing PDF. The client will try to find one of these executables (in this order) in
102
your system and open the pdf document with it.
106
For example, if *xpdf*, *kpdf* and *acroread* are the only pdf viewers installed
107
on your system, the Open ERP client will use *xpdf* for previewing pdf document
109
If you want to use another pdf viewer or if you don't want to use the first
110
one the client will find. You can edit the Open ERP configuration file normally
111
located in ``~/.terprc``. Find the ``[printer]`` section and edit the
112
``softpath`` parameter. For example: ::