IBM-lotus-notes-9.0.1-debian-7.5-64-bit-wheezy

From aldeid
Jump to navigation Jump to search

Description

This tutorial explains how to install Lotus Notes/Sametime 9.0.1 32 bit (the packages are not available in 64 bit yet) on Debian 7.5 "wheezy" 64 bit. As a prerequisite, download the Notes_Client_V9.0.1_LnxDb_I_FREva.tar file from IBM Lotus Notes web site.

You will find many tutorials on the Internet dealing with the installation of Lotus Notes on an Ubuntu distribution, but none (at the time of this writing) on Debian. I made some researches on the topic and decided to write a tutorial on it. There is however a difficulty here. Of course the multiarch architecture is great but not all libraries are available yet for Debian and unfortunately for people using Debian, the libraries required by Lotus Notes are not in Debian multiarch yet (Ubuntu is more advanced on that topic). For this reason, you will need to download the libraries from a third party (I put links in my tutorial).

Prerequisites

You will need to activate the multiarch support:

$ sudo dpkg --add-architecture i386
$ sudo apt-get update

And install some 32 bit libraries:

$ sudo apt-get install ia32-libs ia32-libs-gtk

Remove dependencies from the packages

Uncompress archive

$ tar xf Notes_Client_V9.0.1_LnxDb_I_FREva.tar

Lotus Notes

First copy the deb package to a temporary folder:

$ mkdir /tmp/notes-repacked/
$ cp ibm-notes-9.0.1.i586.deb /tmp/notes-repacked/
$ cd /tmp/notes-repacked/

Then unpack the deb's:

$ dpkg-deb -x ibm-notes-9.0.1.i586.deb common
$ dpkg-deb --control ibm-notes-9.0.1.i586.deb

And remove the pre-dependencies:

$ sed -i "s/^Pre\-Depends:*.*$/Pre\-Depends:/" DEBIAN/control
$ cp -a DEBIAN/ common/

Repackage:

$ dpkg-deb -b common/ ibm-notes-nodep-9.0.1.i586.deb

Sametime

Do the same thing for Sametime:

$ mkdir /tmp/sametime-repacked/
$ cp ibm-sametime-9.0.1.i586.deb /tmp/sametime-repacked/
$ cd /tmp/sametime-repacked/
$ dpkg-deb -x ibm-sametime-9.0.1.i586.deb common
$ dpkg-deb --control ibm-sametime-9.0.1.i586.deb
$ sed -i "s/^Pre\-Depends:*.*$/Pre\-Depends:/" DEBIAN/control
$ cp -a DEBIAN/ common/
$ dpkg-deb -b common/ ibm-sametime-nodep-9.0.1.i586.deb

Installation

Now it's time to install the packages. Let's start with Lotus Notes:

$ sudo dpkg -i ibm-notes-nodep-9.0.1.i586.deb

Lotus Notes will still require some dependencies:

$ cd /opt/ibm/notes/
$ sudo wget https://dl.dropboxusercontent.com/u/10761700/lotusnotes-debian-libs.tar.gz
$ sudo tar xzvf lotusnotes-debian-libs.tar.gz
$ sudo mkdir /usr/lib/i386-linux-gnu/pkcs11/
$ sudo mv gnome-keyring-pkcs11.so /usr/lib/i386-linux-gnu/pkcs11/

Now, install Sametime:

$ sudo dpkg -i ibm-sametime-nodep-9.0.1.i586.deb

And that's it :)

Notes for Ubuntu users

As compared to Debian Stable, Debian 8 (Testing) or Ubuntu 14.04 LTS has a complete multiarch support and has all required dependencies. Notice that multiarch is even natively activated on Ubuntu:

$ dpkg --print-foreign-architectures
i386

And all necessary packages can be installed in one command:

$ sudo apt-get install libart-2.0-2:i386 libasound2:i386 libatk1.0-0:i386 libavahi-client3:i386 libavahi-common3:i386 libavahi-glib1:i386 libbonobo2-0:i386 libbonoboui2-0:i386 libc6:i386 libcairo2:i386 libcanberra0:i386 libcomerr2:i386 libcups2:i386 libdbus-1-3:i386 libdbus-glib-1-2:i386 libexpat1:i386 libffi6:i386 libfontconfig1:i386 libfreetype6:i386 libgail18:i386 libgcc1:i386 libgconf-2-4:i386 libgcrypt11:i386 libgdk-pixbuf2.0-0:i386 libglib2.0-0:i386 libgnome2-0:i386 libgnomecanvas2-0:i386 libgnome-keyring0:i386 libgnomeui-0:i386 libgnomevfs2-0:i386 libgnutls26:i386 libgpg-error0:i386 libgssapi-krb5-2:i386 libgtk2.0-0:i386 libhunspell-1.3-0:i386 libice6:i386 libjpeg62:i386 libk5crypto3:i386 libkeyutils1:i386 libkrb5-3:i386 libkrb5support0:i386 libltdl7:i386 libnspr4:i386 libnspr4-0d:i386 libnss3:i386 libnss3-1d:i386 libogg0:i386 liborbit2:i386 libp11-kit0:i386 libpam0g:i386 libpango1.0-0:i386 libpcre3:i386 libpixman-1-0:i386 libpng12-0:i386 libpopt0:i386 libselinux1:i386 libsm6:i386 libstdc++6:i386 libtasn1-6:i386 libtdb1:i386 libuuid1:i386 libvorbis0a:i386 libvorbisfile3:i386 libx11-6:i386 libxau6:i386 libxcb1:i386 libxcb-render0:i386 libxcb-shm0:i386 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxft2:i386 libxi6:i386 libxinerama1:i386 libxml2:i386 libxp6:i386 libxrandr2:i386 libxrender1:i386 libxss1:i386 libxt6:i386 libxtst6:i386 zlib1g:i386 libcanberra-gtk-module:i386 libxss1:i386 gtk2-engines-murrine:i386 p11-kit-modules:i386 libp11-kit-gnome-keyring:i386 ttf-xfree86-nonfree

For more information, you can refer to this post: http://askubuntu.com/questions/292008/how-to-install-lotus-9.

Notes for Debian 9 Stretch 64bit

On Debian Stretch, I've been able to make it work with following packages:

$ sudo apt-get install libbonobo2-0:i386 \
    libbonoboui2-0:i386 \
    libgconf2-4:i386 \
    libgnome-desktop-2-17:i386 \
    libgnomeui-0:i386 \
    libjpeg62:i386 \
    libcups2:i386 \
    libpangoxft-1.0-0:i386 \
    libpangox-1.0-0:i386

Comments

Keywords: lotus-notes sametime debian 32bit-64bit