Skip to content
This repository was archived by the owner on Jan 14, 2020. It is now read-only.

Installation Ubuntu

bkulyk edited this page Jun 27, 2011 · 6 revisions

Installation

OpenOffice.org

Install

  sudo apt-get install python-uno openoffice.org-java-common openoffice.org-base openoffice.org-writer openoffice.org-calc openoffice.org-impress 
  sudo apt-get install openoffice.org-draw openoffice.org-math openoffice.org-filter-mobiledev openoffice.org-filter-binfilter 
  sudo apt-get install msttcorefonts pstoedit libpaper-utils ttf-dejavu
  sudo reboot #reboot seemed to be needed in order to get the fonts to take`

Additional Setup

After running for sometime, we noticed that Open Office seemed to be making a ton of DNS queries that were failing. That was solved with an addition to the computers hosts file.

edit your hosts file /etc/hosts to add the following line, replacing computername with the name of you have your computer.

127.0.0.1 computername localhost computername.(none)

Note: To obtain your computername if you can't remember it, open a terminal and enter the following command

  hostname

pyMailMergeService

Dependencies

  sudo apt-get install python-lxml python-soappy python-cherrypy3

Install pyMailMergeService

  mkdir /usr/share/pyMailMergeService/
  wget http://github.com/bkulyk/pyMailMergeService/zipball/master -o /tmp/pmms.zip
  cd /usr/share/pyMailMergeService/
  unzip /tmp/pmms.zip
  cd /etc/init.d 
  sudo ln -s /usr/share/pyMailMergeService/startOOandPMMS.sh pmms
  update-rc.d pmms defaults
  sudo chmod 0755 startOOandPMMS..sh

Install pyPDF

The version of pyPDF that I found in the Ubuntu repositories seems to be very out of date and has a number of bugs. These bugs appear to be fixed in the git repository, so I suggest using that version.

   wget https://github.com/mfenniak/pyPdf/tarball/trunk
   tar -xvzf mfenniak-pyPdf-4abdca4.tar.gz
   cd mfenniak-pyPdf-4abdca4
   python setup.py build
   sudo python setup.py install
   cd ..
   rm -rf mfenniak-pyPdf-4abdca4

Clone this wiki locally