So here finally it comes – more detailed installation instructions. This time for the 64bit version of Precise Pangolin.
1) Create a folder for the files. In this case
mkdir ~/LN853install
cd ~/LN853install
2) Copy all Lotus files you want to install
tar xvf /media/externaldrive/Software/LotusNotes853/lotus_notes853_linuxUb_en.tar
@amd64:/home/anders/LN853install# ls -la
total 538676
drwxr-xr-x 2 root root 4096 May 4 07:40 .
drwxr-xr-x 74 anders anders 4096 May 4 07:39 ..
-rwx—— 1 root root 5015238 Sep 16 2011 ibm-lotus-activities-8.5.3.i586.deb
-rwx—— 1 root root 3933118 Sep 16 2011 ibm-lotus-cae-8.5.3.i586.deb
-rwx—— 1 root root 108796 Sep 16 2011 ibm-lotus-feedreader-8.5.3.i586.deb
-rwx—— 1 root root 342247046 Sep 16 2011 ibm-lotus-notes-8.5.3.i586.deb
-rwx—— 1 root root 52945926 Sep 16 2011 ibm-lotus-sametime-8.5.3.i586.deb
-rwx—— 1 root root 146089190 Sep 16 2011 ibm-lotus-symphony-8.5.3.i586.deb
-rwx—— 1 root root 1218560 Sep 16 2011 license.tar
-rwx—— 1 root root 6815 Sep 16 2011 smartupgrade.sh
4) Install extra libraries
sudo apt-get install libgnomeprintui2.2-0 ia32-libs ttf-xfree86-nonfree t1-xfree86-nonfree
5) Install getlibs
sudo dpkg -i getlibs_2.06-0ubuntu1~ppa2_all.deb
Selecting previously deselected package getlibs.
(Reading database … 206259 files and directories currently installed.)
Unpacking getlibs (from getlibs_2.06-0ubuntu1~ppa2_all.deb) …
Setting up getlibs (2.06-0ubuntu1~ppa2) …
6) Install compatibility libraries (some may not be needed, plz help me update this)
Hmm, /usr/lib32 seems to be replaced with /usr/lib/i386-linux-gnu/
See: https://help.ubuntu.com/community/MultiArch
I am a but unsure if the following part destroys anything. Please do not do this if you are unsure, wait for better instructions in coming blog post!
sudo ln -s /usr/lib/i386-linux-gnu /usr/lib32
OR if unsure do this:
sudo mkdir /usr/lib32
Install command:
sudo getlibs -p libgnomeprintui2.2-0 libgnomeprint2.2-0 libgnomevfs2-0 libgnomeui-0 libxkbfile1 libstartup-notification0 libsepol1 libselinux1 libgsf-1-114 libgsf-1-dev librsvg2-2 librsvg2-common libavahi-client3 libavahi-common3 libavahi-glib1 libbonoboui2-0 libcroco3 libdbus-1-3 libdbus-glib-1-2 libgnome2-0 libgnomecanvas2-0 libgnome-keyring0 libgnome-menu2 libesd0 gtk2-engines libgnome-desktop-2-17 libmotif4 libmotif3 libgnome-desktop-3-0 libavahi-glib1 gtk2-engines-oxygen gtk2-engines-aurora gtk2-engines-qtcurve gtk2-engines-murrine gtk2-engines-equinox alsa-base alsa-utils iproute libgnome-desktop-3-2 liborbit2 libbonobo2-0 libgconf2-4 libx11-6 libxt6 libxext6 libc6 libgcc1 libgtk2.0-0 libxkbfile1 libglib2.0-0 libstdc++6 bash libart-2.0-2 libpopt0 libgnomeui-0
7) Install Lotus Notes and Sametime etc
dpkg -i ibm-lotus-notes-8.5.3.i586.deb
dpkg -i ibm-lotus-feedreader-8.5.3.i586.deb
dpkg -i ibm-lotus-sametime-8.5.3.i586.deb
8) We are not really there yet
sudo apt-get install g++-multilib libgtk2.0-dev
9) GDK Fix
wget https://github.com/sgh/lotus-notes_gtk2.23.3/raw/d3492c997bc7a92b895fa1369d4743a8e20b56b5/Makefile
Important: Note that the ‘ before s and after g is of type that is straight. Not that it is a backquote before pkg
sudo sed -i ‘s/gcc -Wall -Wextra `pkg/gcc -Wall -Wextra -m32 `pkg/g’ Makefile
make
chmod +x notes-wrapper
sudo cp notes-wrapper libnotesgtkfix.so /opt/ibm/lotus/notes/
Important: Note that the ‘ before s and after g is of type that is straight.
sudo sed -i ‘s/../notes %F/../notes-wrapper %F/g’ /usr/share/applications/LotusNotes8.5.desktop
10) Make notes-wrapper file look like this
Change all references to /anders/ to /yourusername/ also be careful with quotes so they are correct
nano /opt/ibm/lotus/notes/notes-wrapper
#!/bin/sh
cd `dirname “$0″`
echo “setting locale …”
LANGUAGE=”en_US.UTF-8″
LC_ALL=”en_US.UTF-8″
LANG=”en_US.UTF-8″
export LANGUAGE LC_ALL LANG
echo “setting notes environment …”
NOTESBIN=/opt/ibm/lotus/notes
NOTESDATA=/home/anders/lotus/notes/data
NOTESDIR=/home/anders/lotus/notes
LD_LIBRARY_PATH=$NOTESBIN:/usr/lib/i386-linux-gnu:$NOTESBIN/jvm/bin/classic:$NOTESBIN/jvm/bin:$LD_LIBRARY_PATH
PATH=$NOTESBIN/jvm/bin:$NOTESBIN:$PATH
CLASSPATH=./:$NOTESBIN/:$CLASSPATH
export NOTESBIN NOTESDATA NOTESDIR LD_LIBRARY_PATH PATH CLASSPATH
#/opt/ibm/Workplace Managed Client/rcp/richclient -personality com.ibm.workplace.noteswc.standalone.linux.personality
echo “starting notes …”
LD_PRELOAD=`pwd`/libnotesgtkfix.so `pwd`/notes $*
11) Symlinks
sudo ln -s /usr/lib32/i386-linux-gnu/libgnomeui-2.so.0 /usr/lib32/libgnomeui-2.so.0
sudo ln -s /usr/lib32/i386-linux-gnu/libavahi-glib.so.1 /usr/lib32/libavahi-glib.so.1
sudo ln -s /lib32/i386-linux-gnu/libpopt.so.0 /usr/lib32/libpopt.so.0
sudo ln -s /usr/lib/i386-linux-gnu/gtk-2.0/modules/libcanberra-gtk-module.so /usr/lib32/libcanberra-gtk-module.so
sudo ln -s /usr/lib/i386-linux-gnu/i386-linux-gnu/libORBitCosNaming-2.so.0 /usr/lib32
sudo ln -s /usr/lib/i386-linux-gnu/i386-linux-gnu/libORBit-2.so.0 /usr/lib32
12) Speed it up
sudo sed -i ‘s/vmarg.Xmx=-Xmx256m/vmarg.Xmx=-Xmx768m/g’ /opt/ibm/lotus/notes/framework/rcp/deploy/jvm.properties
13) Go nag on IBM to make software that is more linux compatible!!