Sunday, March 4, 2012

Remove OpenOffice, install LibreOffice on Ubuntu

I wasn't liking OpenOffice anymore, and wanted to use LibreOffice.

On my OSX devices, no problem, drag OpenOffice to the bin / trash, download and copy over LibreOffice.

On my Ubuntu box not quite so easy. Uninstalling OpenOffice is easy enough:

    System > Administration > Synaptic Package Manager > Quick Search
    type OpenOffice
    Mark for Complete Removal all the installed OpenOffice software
    apply your choice, then exit the program

Next you need to add the correct repository. In terminal you type

    sudo add-apt-repository ppa:libreoffice/ppa

Update the system:

    sudo apt-get update

Then, back in Synaptic Package Manager > Quick Search, should be able to find LibreOffice.

However I got some errors. Being the impatient type and keen to learn I decided to install manually, following these instructions.

1) After downloading the installer archive file, to decompress it in a directory of your choice (your Desktop directory, for example). After decompressing it, you will see that the contents have been unpacked into a directory called LibO_3.3.0rc1_Linux_x86_install-deb_en-US or LibO_3.4.5rc2_Linux_x86_install-deb_en-US. Open a file manager window, and change directory to that directory.

2) The directory contains a subdirectory called DEBS. Change directory to the DEBS directory.

3) Right-click within the DEBS directory and choose "Open in Terminal". A terminal window will open. From the command line of the terminal window, enter the following command (you will be prompted to enter your root user's password before the command will execute):

sudo dpkg -i *.deb

4) The above dpkg command does the first part of the installation process. To complete the process, you also need to install the desktop integration packages. To do this, change directory to the desktop-integration directory that is within the DEBS directory, using the following command:

cd desktop-integration

Now run the dpkg command again:

sudo dpkg -i *.deb

The installation process is now completed, and you should have icons for all the LibreOffice applications in your desktop's Applications/Office menu.

1 comment:

previouslysilent said...