3
.. i18n: single: Installation; OpenERP Client (Linux)
4
.. i18n: single: OpenERP Client; Installation (Linux)
9
single: Installation; OpenERP Client (Linux)
10
single: OpenERP Client; Installation (Linux)
13
.. i18n: .. linux-client-link:
18
.. i18n: OpenERP GTK Client Installation
19
.. i18n: ===============================
22
OpenERP GTK Client Installation
23
===============================
25
.. i18n: The native GTK client is available as a legacy interface for users who still require it, but the recommended way to access OpenERP 6.1 is the built-in web interface.
28
The native GTK client is available as a legacy interface for users who still require it, but the recommended way to access OpenERP 6.1 is the built-in web interface.
30
.. i18n: Installing the required packages
31
.. i18n: --------------------------------
34
Installing the required packages
35
--------------------------------
37
.. i18n: Python 2.6 or later is required for OpenERP 6.1. It is built-in in Ubuntu version 10.04 and above.
38
.. i18n: A few Python libraries are also required, as listed below.
41
Python 2.6 or later is required for OpenERP 6.1. It is built-in in Ubuntu version 10.04 and above.
42
A few Python libraries are also required, as listed below.
44
.. i18n: On a Debian-based Linux distribution you can install all required dependencies with this single
47
.. i18n: apt-get install python-gtk2 python-glade2 python-matplotlib python-dateutil \
48
.. i18n: python-lxml python-tz python-hippocanvas python-pydot
51
On a Debian-based Linux distribution you can install all required dependencies with this single
54
apt-get install python-gtk2 python-glade2 python-matplotlib python-dateutil \
55
python-lxml python-tz python-hippocanvas python-pydot
57
.. i18n: * :guilabel:`gtk` : GTK+ is a highly usable, feature-rich toolkit for creating graphical user interfaces which boosts cross-platform compatibility and an easy-to-use API. ::
59
.. i18n: sudo apt-get install python-gtk2
61
.. i18n: * :guilabel:`glade` : Glade is a RAD tool to enable quick & easy development of user interfaces for the GTK+ toolkit and the GNOME desktop environment. ::
63
.. i18n: sudo apt-get install python-glade2
65
.. i18n: * :guilabel:`matplotlib` : matplotlib is a Python 2D plotting library which produces publication quality figures in a variety of hard-copy formats and interactive environments across platforms. ::
67
.. i18n: sudo apt-get install python-matplotlib
69
.. i18n: * :guilabel:`dateutil` : Provides date/time values in Python ::
71
.. i18n: sudo apt-get install python-dateutil
73
.. i18n: * :guilabel:`lxml` : XML support for Python platform. ::
75
.. i18n: sudo apt-get install python-lxml
77
.. i18n: * :guilabel:`tz` : World Timezone definitions for Python. ::
79
.. i18n: sudo apt-get install python-tz
81
.. i18n: * :guilabel:`hippocanvas` : The Hippo Canvas is a Cairo/GObject/GTK+ based canvas, written in C with support for flexible layout, CSS styling, and initial work on animations. ::
83
.. i18n: sudo apt-get install python-hippocanvas
85
.. i18n: * :guilabel:`pydot` : Python interface to Graphviz's Dot language. ::
87
.. i18n: sudo apt-get install python-pydot
89
.. i18n: * Any PDF viewer, properly registered in your system to automatically open PDF files (e.g. xpdf, kpdf, acroread, evince, etc..).
90
.. i18n: See the :ref:`configure-pdf-viewer-link` section.
93
* :guilabel:`gtk` : GTK+ is a highly usable, feature-rich toolkit for creating graphical user interfaces which boosts cross-platform compatibility and an easy-to-use API. ::
95
sudo apt-get install python-gtk2
97
* :guilabel:`glade` : Glade is a RAD tool to enable quick & easy development of user interfaces for the GTK+ toolkit and the GNOME desktop environment. ::
99
sudo apt-get install python-glade2
101
* :guilabel:`matplotlib` : matplotlib is a Python 2D plotting library which produces publication quality figures in a variety of hard-copy formats and interactive environments across platforms. ::
103
sudo apt-get install python-matplotlib
105
* :guilabel:`dateutil` : Provides date/time values in Python ::
107
sudo apt-get install python-dateutil
109
* :guilabel:`lxml` : XML support for Python platform. ::
111
sudo apt-get install python-lxml
113
* :guilabel:`tz` : World Timezone definitions for Python. ::
115
sudo apt-get install python-tz
117
* :guilabel:`hippocanvas` : The Hippo Canvas is a Cairo/GObject/GTK+ based canvas, written in C with support for flexible layout, CSS styling, and initial work on animations. ::
119
sudo apt-get install python-hippocanvas
121
* :guilabel:`pydot` : Python interface to Graphviz's Dot language. ::
123
sudo apt-get install python-pydot
125
* Any PDF viewer, properly registered in your system to automatically open PDF files (e.g. xpdf, kpdf, acroread, evince, etc..).
126
See the :ref:`configure-pdf-viewer-link` section.
128
.. i18n: .. note:: RedHat-based distributions
130
.. i18n: As an alternative to the above commands meant for Debian-based distributions, the
131
.. i18n: following command should install the required dependencies for RedHat-based systems::
133
.. i18n: yum install pygtk2 glade3 pydot python-dateutil python-matplotlib \
134
.. i18n: python-lxml python-hippo-canvas python-tz
137
.. note:: RedHat-based distributions
139
As an alternative to the above commands meant for Debian-based distributions, the
140
following command should install the required dependencies for RedHat-based systems::
142
yum install pygtk2 glade3 pydot python-dateutil python-matplotlib \
143
python-lxml python-hippo-canvas python-tz
145
.. i18n: .. note:: Mandriva
147
.. i18n: As an alternative to the above commands meant for Debian-based distributions, the
148
.. i18n: following command should install the required dependencies for Mandriva::
150
.. i18n: yum install pygtk2 glade3 pydot python-dateutil python-matplotlib \
151
.. i18n: python-lxml python-hippo-canvas python-tz
156
As an alternative to the above commands meant for Debian-based distributions, the
157
following command should install the required dependencies for Mandriva::
159
yum install pygtk2 glade3 pydot python-dateutil python-matplotlib \
160
python-lxml python-hippo-canvas python-tz
162
.. i18n: Downloading the OpenERP Client
163
.. i18n: ------------------------------
166
Downloading the OpenERP Client
167
------------------------------
169
.. i18n: The OpenERP client can be downloaded from
170
.. i18n: the `OpenERP website's download page <http://www.openerp.com/downloads>`_
173
The OpenERP client can be downloaded from
174
the `OpenERP website's download page <http://www.openerp.com/downloads>`_
176
.. i18n: Testing the OpenERP Client
177
.. i18n: --------------------------
180
Testing the OpenERP Client
181
--------------------------
183
.. i18n: If you only want to test the client, you do not need to install it. Just unpack the
184
.. i18n: archive and start the openerp-client executable: ::
186
.. i18n: tar -xzf openerp-client-6.1-latest.tar.gz
187
.. i18n: cd openerp-client-6.1-*/bin
188
.. i18n: ./openerp-client.py
191
If you only want to test the client, you do not need to install it. Just unpack the
192
archive and start the openerp-client executable: ::
194
tar -xzf openerp-client-6.1-latest.tar.gz
195
cd openerp-client-6.1-*/bin
198
.. i18n: The list of available command line parameters can be obtained with the ``-h``
199
.. i18n: command-line switch: ::
201
.. i18n: ./openerp-client.py -h
204
The list of available command line parameters can be obtained with the ``-h``
205
command-line switch: ::
207
./openerp-client.py -h
209
.. i18n: Installing the OpenERP Client
210
.. i18n: -----------------------------
213
Installing the OpenERP Client
214
-----------------------------
216
.. i18n: The client can be installed very easily using the *setup.py* file: ::
218
.. i18n: tar -xzf openerp-client-6.1-latest.tar.gz
219
.. i18n: cd openerp-client-6.1-*
220
.. i18n: sudo python setup.py install
223
The client can be installed very easily using the *setup.py* file: ::
225
tar -xzf openerp-client-6.1-latest.tar.gz
226
cd openerp-client-6.1-*
227
sudo python setup.py install
229
.. i18n: You can now run the client using the following command: ::
231
.. i18n: openerp-client
234
You can now run the client using the following command: ::
239
.. i18n: single: OpenERP Client; Configuring a PDF viewer
240
.. i18n: single: PDF viewer
245
single: OpenERP Client; Configuring a PDF viewer
249
.. i18n: .. _configure-pdf-viewer-link:
251
.. i18n: Configuring a PDF Viewer
252
.. i18n: ------------------------
255
.. _configure-pdf-viewer-link:
257
Configuring a PDF Viewer
258
------------------------
260
.. i18n: By default the OpenERP Client will use your default PDF application
261
.. i18n: for displaying PDF files You may customize this behavior by configuring
262
.. i18n: a different default PDF application on your system.
265
By default the OpenERP Client will use your default PDF application
266
for displaying PDF files You may customize this behavior by configuring
267
a different default PDF application on your system.
269
.. i18n: Alternatively, you may also specify explicitly the PDF command to use to
270
.. i18n: display PDF files in the OpenERP configuration file, normally located in your
271
.. i18n: HOME directory, and named ``'.openerprc'``.
272
.. i18n: Find the ``[printer]`` section and edit the ``softpath`` parameter. For example: ::
275
.. i18n: softpath = kpdf
278
Alternatively, you may also specify explicitly the PDF command to use to
279
display PDF files in the OpenERP configuration file, normally located in your
280
HOME directory, and named ``'.openerprc'``.
281
Find the ``[printer]`` section and edit the ``softpath`` parameter. For example: ::