hosted by sflogo.jpg

Installation

From Bibus

Contents

Windows

There are two Bibus distributions for Windows:

  • The "source" distribution. It is a bit more tricky to install but it is more flexible since you can modify the source and see the result immediately.
  • The "compiled" distribution. This is easier to install since all the required extensions are included.

If in doubt, first try the "source" distribution. It is important to run the Bibus installer after everything has been installed

Installing the source distribution with OpenOffice.org2

Installing the source distribution with Microsoft Word

Installing the source distribution with both OpenOffice.org2 and Microsoft Word

Installing the compiled distribution (standalone version)

  • Optional: If you want to use Bibus with OpenOffice.org
  • Install Bibus using the file bibus-1.x.y-Win32-Full-Setup.exe


Installing the cvs version

The cvs version contains the latest version of the software. Before installing this version, you must be aware that it is a development version and therefore may be unstable. Here is an example using totoisecvs but you can use an other cvs client.

  • you first have to install python, pywin, wxPython and pysqlite (see the 4 first point of the previous section)
  • download and install tortoisecvs
  • open a dos command prompt
  • type: cd "c:\"
  • type: "c:\Program Files\TortoiseCVS\cvs.exe" -z3 -d:pserver:anonymous@bibus-biblio.cvs.sourceforge.net:/cvsroot/bibus-biblio co -P bibus
  • open: "c:\bibus\bibus.cfg"
  • change: python = C:\Python23\pythonw.exe
  • change: oopath = C:\Program Files\OpenOffice.org 2.3\program
  • save the file. You wan now run bibus by launching bibusstart.py in c:\bibus

Gnu/linux

Debian

  • You must run debian testing or unstable to get OpenOffice.org connection
  • Add the following lines to your /etc/apt/sources.list
deb http://switch.dl.sourceforge.net/sourceforge/bibus-biblio ./
deb-src http://switch.dl.sourceforge.net/sourceforge/bibus-biblio ./
  • you must install the author gpg key:
    • gpg --keyserver subkeys.pgp.net --recv-keys F255983F
    • gpg --export --armor F255983F | sudo apt-key add -
  • If it did not work because of a closed port download the key "pmartino.gpgkey" from the debian directory:
  • apt-get update
  • apt-get install python-pysqlite2 bibus bibus-doc-en
  • optional:
    • debian: apt-get openoffice.org
    • apt-get mysql-server mysql-common mysql-client python-mysqldb

Ubuntu

this paragraph is a brief translation of a frech tutorial written by oswald-p [1]

  • Ubuntu must be breezy release or latter
  • Add the following lines to your /etc/apt/sources.list
## Bibus
deb http://switch.dl.sourceforge.net/sourceforge/bibus-biblio ./
deb-src http://switch.dl.sourceforge.net/sourceforge/bibus-biblio ./
  • Download the public key with the following command:
wget -q http://switch.dl.sourceforge.net/sourceforge/bibus-biblio/pmartino.gpgkey -O- | sudo apt-key add -
  • apt-get update
  • sudo apt-get install bibus libsqliteodbc python-pysqlite2 python-wxgtk2.6 python-uno
  • if you run Gutsy, there is a problem with "LD_LIBRARY_PATH", to solve it
- gedit bibus
- copy the following lines in the editor
#! /bin/sh
export LD_LIBRARY_PATH="/usr/lib/openoffice/program"
exec /usr/share/bibus/bibus.py
- sudo rm /usr/bin/bibus
- sudo cp bibus /usr/bin
- sudo chmod +x /usr/bin/bibus


  • make bibus and openoffice communicate (not required since Dapper):
- sudo ln -s /usr/lib/openoffice2 /usr/lib/openoffice
- sudo ln -s /usr/lib/openoffice2/share /usr/lib/openoffice2/user


  • optional:
    • apt-get openoffice.org2
    • apt-get mysql-server mysql-common mysql-client python-mysqldb

Other Gnu/linux

All the software below are presumably part of your favorite distribution. Look for them using your favorite tool.

  • install python (presumably already installed)
  • install wxpython2.6
    • The package name is usually something like wxpython* or python-wx* or wxgtk
      • Mandriva: wxPythonGTK-2.6
      • Fedora: wxPythonGTK2 ?
      • SUSE: python-wxgtk-2.6
  • install python-sqlite (if possible use version 2 but other versions should work)
  • Install the OpenOffice.org2 from your distribution. Don't use the version from www.openoffice.org since it will not work with your system python that bibus requires
  • Download bibus-1.x.y.tgz
  • Uncompress it:
    • tar -zxf bibus-1.x.y.tgz
  • Open a console inside the bibus-1.x.y directory
    • cd bibus-1.x.y
  • Bibus installation will depend on 3 paths that you may have to adjust:
    • DESTDIR: The destination directory where you want to install bibus (Default = /usr/local)
      • For many systems, /usr/local is not a full-time citizen and shortcuts won't appear in your menu. In such a case, use DESTDIR=/usr
    • python: The python path (Default = /usr/bin/python)
    • oopath: The OpenOffice.org2/program directory
      • Default = /usr/lib/openoffice/program
      • Mandriva = /usr/lib/ooo-1.9/program
      • Fedora = ?
      • SUSE= ?

First method

prompt> su
prompt> Enter root password
prompt> DESTDIR = /usr/local
prompt> python = /usr/bin/python
prompt> oopath = /usr/lib/openoffice/program
prompt> make -f Setup/Makefile DESTDIR=$DESTDIR python=$python oopath=$oopath install
  • Start bibus
    • By choosing the menu item (Applications/Office/Bibus)
    • prompt> $DESTDIR/bibus (/usr/local/bibus)
  • Uninstalling. Run as root:
    • prompt> $DESTDIR/share/bibus/Setup/uninstall.sh

Second method with Checkinstall

  • If you prefer, you can use the utility checkinstall to create a package for your distribution. The procedure is the same except for the last command
  • Install checkinstall from your distribution or from Checkinstall site
prompt> su
prompt> Enter root password
prompt> DESTDIR = /usr/local
prompt> python = /usr/bin/python
prompt> oopath = /usr/lib/openoffice/program
prompt> checkinstall make -f Setup/Makefile DESTDIR=$DESTDIR python=$python oopath=$oopath install
  • A package will be created (rpm, deb, tgz) and installed
  • You can now remove bibus using your package manager
Personal tools