openoffice-bin - Multiplatform, multilingual open-source office suite ChangeLog

HOWTO


# OpenOffice.org 2.4.1
# ====================
# There are instructions here for installing OOo (OpenOffice.org) from a
# binary package.  If you'd like to install it from source, see
# the source howto, which is probably pretty outdated.

# For some reason that I can't imagine, they now bundle various binary
# versions of OOo in RPMs that are inside the tarball.  If you don't want to
# deal with converting the RPMs, you may want to just grab a package for
# Slackware from LinuxPackages.net:
# http://www.linuxpackages.net/search_view.php?by=name&name=openoffice.org

# If you have trouble downloading it from the URL below, try one of these
# mirrors:
# http://openoffice.bouncer.osuosl.org/?product=OpenOffice.org&os=linuxintel&lang=en-US&version=2.4.1
# http://mirrors.ibiblio.org/pub/mirrors/openoffice/stable/2.4.1/
# http://mirrors.isc.org/pub/openoffice/stable/2.4.1/
# ftp://openofficeorg.secsup.org/pub/software/openoffice/stable/2.4.1/
# ftp://openoffice.mirrors.pair.com/stable/2.4.1/
# http://openoffice.mirror.wrpn.net/stable/2.4.1/

# Prerequisites:
# Sun or Blackdown (which appears to be dead) JRE or SDK (optional)
# cpio (required by rpm2tgz)
# rpm (Slackware has an 'rpm' package)
# tar
# gzip

# If you don't have or want rpm2tgz, you can also use alien to convert the
# RPMs

# If you download it using Firefox, BitTorrent (try Azureus), or whatever else,
# put the tarball in your home directory before you begin below.

cd
test -f installed/OOo_2.4.1_LinuxIntel_install_en-US.tar.gz &&
mv installed/OOo_2.4.1_LinuxIntel_install_en-US.tar.gz .
test ! -f OOo_2.4.1_LinuxIntel_install_en-US.tar.gz &&
wget ftp://openofficeorg.secsup.org/pub/software/openoffice/\
stable/2.4.1/OOo_2.4.1_LinuxIntel_install_en-US.tar.gz

# Verify tarball w/ md5sum:
echo "77932202620618bb2a4aed0a35125d5f  OOo_2.4.1_LinuxIntel_install_en-US.\
tar.gz" | md5sum -c

# Don't be surprised if the directory that everything extracts into
# changes

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "OOo_*" -exec rm -r {} \;
tar xzvf ~/OOo_2.4.1_LinuxIntel_install_en-US.tar.gz
cd OOH680_m17_native_packed-1_en-US.9310
test $UID = 0 && chown -R root:root .

# Convert the RPMs into tgz files (this will take a while)
cd RPMS
for file in *.rpm; do echo $file; rpm2tgz $file && rm $file; done

# Become root to do the rest
su

# Quit out of OpenOffice if it's running

# Remove old versions that were installed under /usr/local
find /usr/local -maxdepth 1 -type d -name "OpenOffice.org*" \
-exec rm -r {} \;

# Remove old packages that you have installed:
find /var/adm/packages -type f -name "openoffice.org*" \
-exec removepkg `basename {}` \;

# Remove old files that are still in /opt
find /opt -maxdepth 1 -type d -name "openoffice.org*" -exec rm -r {} \;

# Remove /etc/openoffice.org* symlink(s), if there are any:
find /etc -type l -name "openoffice*" -exec rm {} \;

# Remove any tgz files that you don't want to install.  For example, you'll
# want to remove openoffice.org-gnome-integration-2.4.1-9310.i586.tgz if
# you don't have Gnome installed, and you'll want to remove
# openoffice.org-kde-integration-2.4.1-9310.i586.tgz if you don't have KDE
# installed.

# Install each tgz package (it'll be in /opt/openoffice.org2.4)
installpkg ./*.tgz

# And install this one for Slackware desktop icons:
installpkg \
desktop-integration/openoffice.org-slackware-menus-2.4-noarch-9268.tgz

# If you want to zap the tgz files (the ones created by rpm2tgz)
cd ../..
rm -r ./OOH680_m17_native_packed-1_en-US.9310

## If you'll be opening/saving files that are on an NFS share, you may
## experience file locking trouble.  If this happens to you, open up
## /opt/openoffice.org2.4/program/soffice in a text editor and comment out
## these
## two lines:
# SAL_ENABLE_FILE_LOCKING=1
# export SAL_ENABLE_FILE_LOCKING

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/OOo_*_LinuxIntel_install*.tar.gz
mv OOo_2.4.1_LinuxIntel_install_en-US.tar.gz installed/

# Now as a non-root user, in X, run /opt/openoffice.org2.4/program/soffice

# You can kill the download tarball at this point if you want to save
# space.

# If there were any, old versions were removed from /usr/local/, but old
# per-user copies (~/OpenOffice.orgX.X.X/) are still there.  Now that the
# new version is installed for you, you can zap the old version(s) if you
# like.

# If you installed the openoffice.org-slackware-menus package, you'll find
# desktop icons in /opt/kde/share/icons.  These are good for one icon for
# Writer, one for Draw, etc.:
# /opt/kde/share/icons/hicolor/48x48/apps/openofficeorg24-writer.png
# /opt/kde/share/icons/hicolor/48x48/apps/openofficeorg24-calc.png
# /opt/kde/share/icons/hicolor/48x48/apps/openofficeorg24-draw.png
# /opt/kde/share/icons/hicolor/48x48/apps/openofficeorg24-impress.png
# /opt/kde/share/icons/hicolor/48x48/apps/openofficeorg24-math.png
# /opt/kde/share/icons/hicolor/48x48/apps/openofficeorg24-base.png
# /opt/kde/share/icons/hicolor/48x48/apps/openofficeorg24-printeradmin.png
#
# They don't include the ooo_gulls.png 48x48 image any more, one icon for
# all of OO, but many distributions come with one.

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2010-04-30 5:55pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]