Ubuntu – How to install OpenOffice instead of LibreOffice

openoffice.orgsoftware installation

I want to install OpenOffice. What can I do to install it on my computer?

Best Answer

NOTE - To remove LibreOffice ( to avoid any conflict) please read Rick Green's below answer and then follow this.


Now it is known as Apache OpenOffice which is available through third Party repository as

sudo add-apt-repository ppa:upubuntu-com/office 
sudo apt-get update
sudo apt-get install openoffice

If you are on a 64 bit system you are not done yet. Starting openoffice3 will fail with the message "no suitable windowing system found, exiting". You need to install some 32 bit libraries:

sudo apt-get install libxrandr2:i386 libxinerama1:i386

Next, it fails with "exception in syncronize" because permissions are wrong. Fix them. Then it worked for me.

sudo chmod a+rx /opt/openoffice.org3/share/uno_packages/cache/uno_packages

Alternate method

Download .tar.gz from here , selecting your Arch type through Linux Intel DEB for 32-bit and Linux x86-64 DEB for 64-bit, it basically contains .deb installation packages. Follow these instructions:

  • Unpack the downloaded Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-deb_en-US.tar.gz to prepare for installation by

    tar -xvzf Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-deb_en-US.tar.gz
    

    The Extracted directory will be named after the Language you selected to download like

    en-US

    Navigate into DEBS folder

    Install the .deb files by typing

    sudo dpkg -i *.deb
    

By default, this will install Apache OpenOffice in your /opt directory.

For installing the desktop integration features for your setup navigate to desktop-integration in the DEBS installation directory and do

  sudo dpkg -i *.deb

NOTE Be careful ppa:upubuntu-com/office refers to older version of open office.


SOURCE


Linked answer

Related Question