~openerp-chinese-team/openobject-doc/Chinese-init

« back to all changes in this revision

Viewing changes to i18n/zh_CN/source/install/linux/client/index.rst

  • Committer: JoshuaJan
  • Date: 2012-12-04 01:36:44 UTC
  • Revision ID: popkar77@gmail.com-20121204013644-k25kpyac672wxe22
Chinese initialization

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
.. i18n: .. index::
 
3
.. i18n:    single: Installation; OpenERP Client (Linux)
 
4
.. i18n:    single: OpenERP Client; Installation (Linux)
 
5
.. i18n: ..
 
6
..
 
7
 
 
8
.. index::
 
9
   single: Installation; OpenERP Client (Linux)
 
10
   single: OpenERP Client; Installation (Linux)
 
11
..
 
12
 
 
13
.. i18n: .. linux-client-link:
 
14
..
 
15
 
 
16
.. linux-client-link:
 
17
 
 
18
.. i18n: OpenERP GTK Client Installation
 
19
.. i18n: ===============================
 
20
..
 
21
 
 
22
OpenERP GTK Client Installation
 
23
===============================
 
24
 
 
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.
 
26
..
 
27
 
 
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.
 
29
 
 
30
.. i18n: Installing the required packages
 
31
.. i18n: --------------------------------
 
32
..
 
33
 
 
34
Installing the required packages
 
35
--------------------------------
 
36
 
 
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.
 
39
..
 
40
 
 
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.
 
43
 
 
44
.. i18n: On a Debian-based Linux distribution you can install all required dependencies with this single
 
45
.. i18n: command::
 
46
.. i18n: 
 
47
.. i18n:     apt-get install python-gtk2 python-glade2 python-matplotlib python-dateutil \
 
48
.. i18n:         python-lxml python-tz python-hippocanvas python-pydot
 
49
..
 
50
 
 
51
On a Debian-based Linux distribution you can install all required dependencies with this single
 
52
command::
 
53
 
 
54
    apt-get install python-gtk2 python-glade2 python-matplotlib python-dateutil \
 
55
        python-lxml python-tz python-hippocanvas python-pydot
 
56
 
 
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. ::
 
58
.. i18n: 
 
59
.. i18n:                                        sudo apt-get install python-gtk2
 
60
.. i18n: 
 
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. ::
 
62
.. i18n: 
 
63
.. i18n:                                        sudo apt-get install python-glade2
 
64
.. i18n: 
 
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. ::
 
66
.. i18n: 
 
67
.. i18n:                                        sudo apt-get install python-matplotlib
 
68
.. i18n: 
 
69
.. i18n: * :guilabel:`dateutil` : Provides date/time values in Python ::
 
70
.. i18n: 
 
71
.. i18n:                                        sudo apt-get install python-dateutil
 
72
.. i18n: 
 
73
.. i18n: * :guilabel:`lxml` : XML support for Python platform. ::
 
74
.. i18n: 
 
75
.. i18n:                                        sudo apt-get install python-lxml
 
76
.. i18n: 
 
77
.. i18n: * :guilabel:`tz` : World Timezone definitions for Python. ::
 
78
.. i18n: 
 
79
.. i18n:                                        sudo apt-get install python-tz
 
80
.. i18n: 
 
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. ::
 
82
.. i18n: 
 
83
.. i18n:                                        sudo apt-get install python-hippocanvas
 
84
.. i18n: 
 
85
.. i18n: * :guilabel:`pydot` : Python interface to Graphviz's Dot language. ::
 
86
.. i18n: 
 
87
.. i18n:                     sudo apt-get install python-pydot
 
88
.. i18n: 
 
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.
 
91
..
 
92
 
 
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. ::
 
94
 
 
95
                                        sudo apt-get install python-gtk2
 
96
 
 
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. ::
 
98
 
 
99
                                        sudo apt-get install python-glade2
 
100
 
 
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. ::
 
102
 
 
103
                                        sudo apt-get install python-matplotlib
 
104
 
 
105
* :guilabel:`dateutil` : Provides date/time values in Python ::
 
106
 
 
107
                                        sudo apt-get install python-dateutil
 
108
 
 
109
* :guilabel:`lxml` : XML support for Python platform. ::
 
110
 
 
111
                                        sudo apt-get install python-lxml
 
112
 
 
113
* :guilabel:`tz` : World Timezone definitions for Python. ::
 
114
 
 
115
                                        sudo apt-get install python-tz
 
116
 
 
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. ::
 
118
 
 
119
                                        sudo apt-get install python-hippocanvas
 
120
 
 
121
* :guilabel:`pydot` : Python interface to Graphviz's Dot language. ::
 
122
 
 
123
                    sudo apt-get install python-pydot
 
124
 
 
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.
 
127
 
 
128
.. i18n: .. note:: RedHat-based distributions
 
129
.. i18n: 
 
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::
 
132
.. i18n: 
 
133
.. i18n:         yum install pygtk2 glade3 pydot python-dateutil python-matplotlib \
 
134
.. i18n:             python-lxml python-hippo-canvas python-tz
 
135
..
 
136
 
 
137
.. note:: RedHat-based distributions
 
138
 
 
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::
 
141
 
 
142
        yum install pygtk2 glade3 pydot python-dateutil python-matplotlib \
 
143
            python-lxml python-hippo-canvas python-tz
 
144
 
 
145
.. i18n: .. note:: Mandriva
 
146
.. i18n: 
 
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::
 
149
.. i18n: 
 
150
.. i18n:         yum install pygtk2 glade3 pydot python-dateutil python-matplotlib \
 
151
.. i18n:             python-lxml python-hippo-canvas python-tz
 
152
..
 
153
 
 
154
.. note:: Mandriva
 
155
 
 
156
    As an alternative to the above commands meant for Debian-based distributions, the
 
157
    following command should install the required dependencies for Mandriva::
 
158
 
 
159
        yum install pygtk2 glade3 pydot python-dateutil python-matplotlib \
 
160
            python-lxml python-hippo-canvas python-tz
 
161
 
 
162
.. i18n: Downloading the OpenERP Client
 
163
.. i18n: ------------------------------
 
164
..
 
165
 
 
166
Downloading the OpenERP Client
 
167
------------------------------
 
168
 
 
169
.. i18n: The OpenERP client can be downloaded from
 
170
.. i18n: the `OpenERP website's download page <http://www.openerp.com/downloads>`_
 
171
..
 
172
 
 
173
The OpenERP client can be downloaded from
 
174
the `OpenERP website's download page <http://www.openerp.com/downloads>`_
 
175
 
 
176
.. i18n: Testing the OpenERP Client
 
177
.. i18n: --------------------------
 
178
..
 
179
 
 
180
Testing the OpenERP Client
 
181
--------------------------
 
182
 
 
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: ::
 
185
.. i18n: 
 
186
.. i18n:         tar -xzf openerp-client-6.1-latest.tar.gz
 
187
.. i18n:         cd openerp-client-6.1-*/bin
 
188
.. i18n:         ./openerp-client.py
 
189
..
 
190
 
 
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: ::
 
193
 
 
194
        tar -xzf openerp-client-6.1-latest.tar.gz
 
195
        cd openerp-client-6.1-*/bin
 
196
        ./openerp-client.py
 
197
 
 
198
.. i18n: The list of available command line parameters can be obtained with the ``-h``
 
199
.. i18n: command-line switch: ::
 
200
.. i18n: 
 
201
.. i18n:     ./openerp-client.py -h
 
202
..
 
203
 
 
204
The list of available command line parameters can be obtained with the ``-h``
 
205
command-line switch: ::
 
206
 
 
207
    ./openerp-client.py -h
 
208
 
 
209
.. i18n: Installing the OpenERP Client
 
210
.. i18n: -----------------------------
 
211
..
 
212
 
 
213
Installing the OpenERP Client
 
214
-----------------------------
 
215
 
 
216
.. i18n: The client can be installed very easily using the *setup.py* file: ::
 
217
.. i18n: 
 
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
 
221
..
 
222
 
 
223
The client can be installed very easily using the *setup.py* file: ::
 
224
 
 
225
  tar -xzf openerp-client-6.1-latest.tar.gz
 
226
  cd openerp-client-6.1-*
 
227
  sudo python setup.py install
 
228
 
 
229
.. i18n: You can now run the client using the following command: ::
 
230
.. i18n: 
 
231
.. i18n:   openerp-client
 
232
..
 
233
 
 
234
You can now run the client using the following command: ::
 
235
 
 
236
  openerp-client
 
237
 
 
238
.. i18n: .. index::
 
239
.. i18n:    single: OpenERP Client; Configuring a PDF viewer
 
240
.. i18n:    single: PDF viewer
 
241
.. i18n: ..
 
242
..
 
243
 
 
244
.. index::
 
245
   single: OpenERP Client; Configuring a PDF viewer
 
246
   single: PDF viewer
 
247
..
 
248
 
 
249
.. i18n: .. _configure-pdf-viewer-link:
 
250
.. i18n: 
 
251
.. i18n: Configuring a PDF Viewer
 
252
.. i18n: ------------------------
 
253
..
 
254
 
 
255
.. _configure-pdf-viewer-link:
 
256
 
 
257
Configuring a PDF Viewer
 
258
------------------------
 
259
 
 
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.
 
263
..
 
264
 
 
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.
 
268
 
 
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: ::
 
273
.. i18n: 
 
274
.. i18n:     [printer]
 
275
.. i18n:     softpath = kpdf
 
276
..
 
277
 
 
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: ::
 
282
 
 
283
    [printer]
 
284
    softpath = kpdf