Wednesday, 17 May 2017

How to install LibreOffice in Ubuntu

LibreOffice is an open source and free Office suite with a clean interface and various applications. It is an open source equivalent to MS Office and comes with powerful office suit. LibreOffice comes with Writer for word processing, Calc for spreadsheets asks, Impress for presentations, Draw as a vector graphics and flowcharts application, Base for Database and Math for Formula Editing.

Ubuntu ships with LibreOffice by default and chances are that you already having it. So, this article is for those who have either removed it, or there is another update and they want to remove the old version and install the new one. Lets see how we can install LibreOffice in Ubuntu.

System Requirements

To install LibreOffice in Ubuntu, these are the prerequisite :

  • Linux kernel version 2.6.18 or higher 
  • glibc2 version 2.5 or higher
  • gtk version 2.10.4 or higher
  • Pentium III or higher
  • 256MB RAM (512 MB recommended)
  • 1.55GB of hard disk space 
  • X server with 1024x768 resolution
  • Gnome 2.16 or higher

If you are running an older version, you can uninstall it before installing the latest version. Here's how you can uninstall LibreOffice older version.

Open Terminal and type the following command.

sudo apt-get remove libreoffice-core

This will ask for your confirmation. Press Y and it will remove LibreOffice.

Installing LibreOffice in Ubuntu

Method 1: Using software repository. 

This is the easiest way to install LibreOffice in Ubuntu. Open Ubuntu Software and search for LibreOffice. Click on the LibreOffice package and click on Install in the next screen. It will take some time to download and install.

Method 2: Using Command Line

Most people prefer using the Terminal for everything. So, to install LibreOffice using Terminal, open one and type in the following command:

sudo apt-get install install libreoffice

This will download the installation files and install it in your system.

Method 3: Using .deb package

Download the .deb LibreOffice package from the official website.

Once done, put it in a folder you want.

It will be .tar.gz file. Open terminal, and navigate to the path where you have the archive downloaded. Type in the following command to unpack the package file.

tar zxvf LibreOffice_5.3.2_Linux_x86-64_deb.tar.gz

I am installing version 5.3.2 which you can read in the file name. This may vary for you if you download something which is more latest than this.

Next step is to install the .deb package. Navigate to DEB directory under extracted directory.

cd ~/LibreOffice_5.3.2_Linux_x86-64_deb/DEBS

Run the below command to install the .deb package.

sudo dpkg -i *.deb

It will ask for your root password and the installation will finish.

Using any of the method listed above, you can install LibreOffice in Ubuntu. However, if you are new user you should prefer installing it from the Ubuntu Software Center. Let me know in the comments if you face any issue while installing LibreOffice in Ubuntu.


Post a Comment