Using Python on Linux

From Apache OpenOffice Wiki
Revision as of 16:11, 15 December 2006 by Jza (Talk | contribs)

Jump to: navigation, search

Python is included on all major Linux however this is what we called as a system python might not relate with our OpenOffice.org python. The OOoPython is the one we need to know to install and learn where it is. The location will vary depending if you installed OOo from the OpenOffice.org Site or if it's comming from the distribution repository. We hope this document might help you identify your OpenOffice.org python within your setup.

OpenOffice.org Vanilla

OpenOffice.org installation from the site is usually the most common way to get the latest version of OOo. Distributions not always are quick to release the latest and greatest of the projects however because OOo doesn't require many dependencies it is easy to install on any Linux system.

The OOo install can be reviewed on previous documentation already available from this wiki. We will focus more on how to locate and manage our OOo python enviroment.

The location for Python within OpenOffice.org from this type of installation is:

  /opt/openoffice.org2/program/python-core-2.3.4/

This implementation also includes some interesting python scripts such as:

  • python.bin
  • pythonloader.py and pyc
  • uno.py and pyc
  • unohelper.py and pyc
  • mailmerge.py
  • officehelper

We wont go under each script included but it is important to acknowledge for more indepth study of the bridge.

OpenOffice.org on Debian

Debian version of OpenOffice.org usually install OOo under

Personal tools