How to Install Latest LibreOffice in Linux Desktop

LibreOffice is an open-source and much powerful personal productivity office suite for Linux, Windows & Mac, that provides feature-rich functions for word documents, data processing, spreadsheets, presentation, drawing, Calc, Math, and much more.

LibreOffice has a large number of satisfied users across the globe with almost 200 million downloads as of now. It supports more than 115 languages and runs on all major operating systems.

The Document Foundation team proudly announced the fresh major release of LibreOffice 7.1.2 on 1, April 2021, is now available for all major platforms including Linux, Windows, and Mac OS.

This new update features a large number of exciting new features, performance, and improvements and is targeted to all kinds of users, but especially appealing for enterprise, early adopters, and power users.

There are many other changes and features included in the newest LibreOffice 7.1.2 – for a complete list of new features, see the release announcement page.

LibreOffice Requirements

  1. Kernel 3.10 or higher version.
  2. glibc2 version 2.17 or higher version
  3. Minimum 256MB and recommended 512MB RAM
  4. 1.55GB available Hard disk space
  5. Desktop (Gnome or KDE)

Install LibreOffice on Linux Desktops

The installation instructions provided here are for LibreOffice 7.1.2 using the language US English on a 64-Bit system. For 32-Bit Systems, LibreOffice dropped the support and no longer provide 32-bit binary releases.

Step 1: Downloading LibreOffice

Go to the official LibreOffice download page and grab the latest version that bundled with all the binary packages as a .tar.gz archive file. Alternatively, you can use the following wget command to download the LibreOffice directly in the terminal as shown.

For RHEL/CentOS/Fedora
# cd /tmp
# wget http://download.documentfoundation.org/libreoffice/stable/7.1.2/rpm/x86_64/LibreOffice_7.1.2_Linux_x86-64_rpm.tar.gz
For Debian/Ubuntu/LinuxMint
$ sudo cd /tmp
$ sudo https://download.documentfoundation.org/libreoffice/stable/7.1.2/deb/x86_64/LibreOffice_7.1.2_Linux_x86-64_deb.tar.gz

Step 2: Removing Old LibreOffice or OpenOffice Versions

If any previously installed LibreOffice or OpenOffice versions you have, remove them using the following command.

# yum remove openoffice* libreoffice*			[on RedHat based Systems]
Remove Old LibreOffice 4 on CentOS
Remove Old LibreOffice 4 on CentOS
$ sudo apt-get remove openoffice* libreoffice*		[On Debian based Systems]
Remove LibreOffice 4 on Ubuntu
Remove LibreOffice 4 on Ubuntu

Step 3: Extracting LibreOffice Package

After downloading the LibreOffice package, use the tar command to extract it under /tmp directory or in a directory of your choice.

On RHEL/CentOS/Fedora
# tar zxvf LibreOffice_7.1.2_Linux_x86-64_rpm.tar.gz	
On Debian/Ubuntu/Linux Mint
$ sudo tar zxvf LibreOffice_7.1.2_Linux_x86-64_deb.tar.gz	

Step 4: Installing LibreOffice in Linux Desktop

After extracting the package, you will get a directory and under this, there will be a sub-directory called RPMS or DEBS. Now, run the following command to install it.

On RHEL/CentOS/Fedora
# cd /tmp/LibreOffice_7.1.2.2_Linux_x86-64_rpm/RPMS/
# yum localinstall *.rpm
OR
# dnf install *.rpm    [On Fedora 23+ versions]
On Debian/Ubuntu/Linux Mint
$ sudo cd /tmp/LibreOffice_7.1.2.2_Linux_x86-64_deb/DEBS/
$ sudo dpkg -i *.deb

Step 5: Starting LibreOffice in Linux

Once the installation process completes you will have LibreOffice icons in your desktop under Applications –> Office menu or start the application by executing the following command on the terminal.

# libreoffice7.1

Step 6: Screenshot of LibreOffice 7.1.2

Please see the attached screenshot of the LibreOffice 7.1.2 application under my CentOS 7.0.

LibreOffice Running on CentOS 7
LibreOffice Running on CentOS 7

Step 7: Installing a Language Pack in LibreOffice

If you would like to install LibreOffice in your preferred language, you should select your language pack for installation. The installation instructions can be found in the Language Pack section.

If you liked this article, then do subscribe to email alerts for Linux tutorials. If you have any questions or doubts? do ask for help in the comments section.

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

78 thoughts on “How to Install Latest LibreOffice in Linux Desktop”

  1. There is a time and a place to install programs/packages using the command line – as when installing obscure software from obscure sites. In the case of LibreOffice, there is no need to complicate one’s life by trying to install it using the esoteric and byzantine CLI commands.

    Most of today’s active distros contain LibreOffice in their default repositories. All a user has to do to install LibreOffice is to use their distro’s Software Center or Software Manager. The additional benefit of a package manager is that it will resolve and install any and all dependencies. The package manager can also be used to uninstall the old LibreOffice version, again taking care of any and all dependencies.

    However, there is no need to explicitly uninstall the old version before installing the new version. As one of the first steps in the upgrade process, LibreOffice asks the user if (s)he wants to delete the old version. If the user answers YES, LibreOffice then proceeds with deleting the old version before installing the new one.

    Using CLI to install popular packages that are readily available in the default repositories is just begging for problems, such as mistyping commands or options or package name(s) in the best-case scenario. In the worst-case scenario, using the wrong option or command can result in totally borking the system.

    While it may be macho and leet to use the command line, GUI package managers are included by default in distros to protect users from their clumsy fingers. Let’s not forget that, from the first release of Ubuntu, Canonical has disabled the explicit ‘root’ account to protect users from their own mistakes.

    Reply
    • @Dragonmouth,

      I completely understand your concerns, but the default repositories don’t provide the latest LibreOffice version, that’s the reason we install it from the command line to test the latest version… Also, I do agree that the latest distributions do provide the latest version of LibreOffice, but what If you are using an older distribution release? in this case, these instructions are useful to test out a recent version of the software…

      Reply
  2. I tried to install g++ compiler using “yum install gcc-c++” command but it’s not working. in fact gcc command is not working, what should i do now??

    Reply

Got something to say? Join the discussion.

Have a question or suggestion? Please leave a comment to start the discussion. Please keep in mind that all comments are moderated and your email address will NOT be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.