Tuesday, May 14, 2013

Install LibreOffice 4.0.3 on Linux Mint

Remove existing libreoffice (likely older than 4.x)


$ sudo dpkg --get-selections | grep libreoffice
$ sudo apt-get purge libreoffice-*
$ sudo apt-get autoremove

Download new tarballs from:

http://www.libreoffice.org/download/?type=deb-x86_64&lang=en-US&version=4.0.3

Instructions from 
http://www.libreoffice.org/get-help/installation/linux/


Installation of LibreOffice on Linux

If you have a previously-existing installation of the community-supplied LibreOffice package for Linux, first to remove it.
When you are ready to start installation, go to the Downloads page and, in the left-hand dropdown list, choose the package suitable for your system, i.e. for a 32-bit or 64-bit deb-based system (for Debian, Ubuntu, ...), or for a 32-bit or 64-bit rpm-based system (for Fedora, Suse, Mandriva, ...).
At this point, you may also want to to install the "LibreOffice built-in help" package which is separate from the installation package. You can use LibreOffice without this package, however, it will then go to the "Help" page on our website instead. A separate "Help" package makes it possible to keep the installation package smaller for downloading purposes.

Installation of LibreOffice on Debian/Ubuntu-based Linux systems

The instructions here are for installing LibreOffice in US English, on a 32-bit system; there will be slight differences in some directory names if you are installing LibreOffice on a 64-bit system, but the process is basically the same and – hopefully – you will not find these instructions difficult to follow.
1) After downloading the installer archive file, use Nautilus 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 calledLibO_3.3.0rc1_Linux_x86_install-deb_en-US or LibO_3.4.5rc2_Linux_x86_install-deb_en-US. Open a Nautilus 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.

No comments:

Post a Comment