Thursday, March 27, 2008
Upgrade to OpenOffice.org 2.4 on Ubuntu
[Updated 2007-04-02 to use DEB packages from OO.org]
Mostly based on:
http://www.stchman.com/install_oo.html
You probably don't want to do this with Ubuntu 8.04 (Hardy Heron), as OpenOffice 2.4 is now available through the Update Manager.
The main idea is to download the Debian packages from OpenOffice.org, remove the Ubuntu OpenOffice.org packages, install the Debian ones and then lock them so the update manager doesn't try to update them.
For OpenOffice 2.4 the following should work. It might need to get updated if you need a new version:
# Get the Debian package version from http://download.openoffice.org/other.html#en-US
wget http://ftp.spnet.net/openoffice/stable/2.4.0/OOo_2.4.0_LinuxIntel_install_en-US_deb.tar.gz
# Remove the old version packages.
sudo apt-get -y remove openoffice.org openoffice.org-base openoffice.org-calc openoffice.org-common openoffice.org-core openoffice.org-draw openoffice.org-evolution openoffice.org-filter-mobiledev openoffice.org-gnome openoffice.org-gtk openoffice.org-help-en-us openoffice.org-impress openoffice.org-java-common openoffice.org-l10n-common openoffice.org-l10n-en-gb openoffice.org-l10n-en-za openoffice.org-math openoffice.org-style-human openoffice.org-writer
# Extract the files.
tar xvzf OOo_2.4.0_LinuxIntel_install_en-US_deb.tar.gz
#
cd OOH680_m12_native_packed-1_en-US.9286/DEBS
sudo dpkg -i *.deb
# Fix up the menus.
cd desktop-integration/
sudo dpkg -i openoffice.org-debian-menus_2.4-9268_all.deb
After this I go into the "System", "Administration", "Synaptic Package Manager" to search for "openoffice.org" . I selected all the 2.4 packages just installed and the use the "Package", "Lock Version" menu option to lock those versions for the Ubuntu Update Manager to ignore.
You are done. Hopefully...
Mostly based on:
http://www.stchman.com/install_oo.html
You probably don't want to do this with Ubuntu 8.04 (Hardy Heron), as OpenOffice 2.4 is now available through the Update Manager.
The main idea is to download the Debian packages from OpenOffice.org, remove the Ubuntu OpenOffice.org packages, install the Debian ones and then lock them so the update manager doesn't try to update them.
For OpenOffice 2.4 the following should work. It might need to get updated if you need a new version:
# Get the Debian package version from http://download.openoffice.org/other.html#en-US
wget http://ftp.spnet.net/openoffice/stable/2.4.0/OOo_2.4.0_LinuxIntel_install_en-US_deb.tar.gz
# Remove the old version packages.
sudo apt-get -y remove openoffice.org openoffice.org-base openoffice.org-calc openoffice.org-common openoffice.org-core openoffice.org-draw openoffice.org-evolution openoffice.org-filter-mobiledev openoffice.org-gnome openoffice.org-gtk openoffice.org-help-en-us openoffice.org-impress openoffice.org-java-common openoffice.org-l10n-common openoffice.org-l10n-en-gb openoffice.org-l10n-en-za openoffice.org-math openoffice.org-style-human openoffice.org-writer
# Extract the files.
tar xvzf OOo_2.4.0_LinuxIntel_install_en-US_deb.tar.gz
#
cd OOH680_m12_native_packed-1_en-US.9286/DEBS
sudo dpkg -i *.deb
# Fix up the menus.
cd desktop-integration/
sudo dpkg -i openoffice.org-debian-menus_2.4-9268_all.deb
After this I go into the "System", "Administration", "Synaptic Package Manager" to search for "openoffice.org" . I selected all the 2.4 packages just installed and the use the "Package", "Lock Version" menu option to lock those versions for the Ubuntu Update Manager to ignore.
You are done. Hopefully...
