This tutorial will help you install LibreOffice on Arch Linux. LibreOffice is a free and powerful office suite and is often considered Linux’s equivalent of Microsoft Office. It is one of the essential apps to have on your Arch Distro, especially if you are planning to use it as your daily driver. In this article, we are going to learn how we can install Libre Office on Arch Linux !
First we need to install some packages which we will need for smooth running of LibreOffice. First things first, update and upgrade your system with the pacman command:
$ sudo pacman -Syyu
Next up, we need to install some fonts with :
$ sudo pacman -S --needed ttf-caladea ttf-carlito ttf-dejavu ttf-liberation ttf-linux-libertine-g noto-fonts adobe-source-code-pro-fonts adobe-source-sans-pro-fonts adobe-source-serif-pro-fonts
$ paru ttf-gentium-basic
$ paru hsqldb2-java
The above package also needs a Java Runtime Environment. You can install the latest version with the following in case you don’t already have it :
$ sudo pacman -S --needed jre-openjdk
With that, we should be good to go for the next step.
Choosing The Correct Version of LibreOffice
You can install anyone of the two following packages :
- libreoffice-still : It is the stable maintenance branch, for conservative users.
- libreoffice-fresh : It is the feature branch, with new program enhancements for early adopters or power users.
You can choose the one which suits you the best but it is recommended to use the first one if you will be needing it regularly for work as it is more stable and less prone to crashes.
Previously, you would also need to install a language pack, but now, LibreOffice detects your system defaults and sets as locale setting; manual installation of a language pack is no longer mandatory, required only for localized user interface.
Install LibreOffice On Arch Linux
Once you have chosen the version you want to go with, you can install it with the pacman command along with sudo:
$ sudo pacman -S <name>
For example, to install the stable release, we would go with:
$ sudo pacman -S libreoffice-still
This should install LibreOffice on your system !
Installing Additional LibreOffice Packages
There are some additional functionalities you can add to LibreOffice as well, for which we would require some additional packages.
To enable working with Latex, you need to install the following :
$ sudo pacman -S libreoffice-extension-texmaths libreoffice-extension-writer2latex
Next up, we can install a package for enabling spell check with :
$ sudo pacman -S hunspell
You may also want to install language specific dictionaries for hunspell. For example, if you want to enable the US English dictionaries for hunspell, you can install it with :
$ sudo pacman -S hunspell-en_us
For enabling Grammar checks you can install the following tool :
$ paru libreoffice-extension-languagetool
Different LibreOffice Applications
LibreOffice Suite comes with the following applications:
- LibreOffice Math: This allows us to create and edit scientific formulas and equations
- LibreOffice Draw: This allows us to create and edit drawings, flow charts, etc.
- LibreOffice Calc: Let’s you organize data into spreadsheets like Microsoft Excel
- LibreOffice Base: You can manage databases , create queries and more using Base
- LibreOffice Writer: Create/Edit text files much like Microsoft Word
- LibreOffice Impress: Create and edit slides for presentations and is the equivalent of Microsoft Powerpoint
Thus we saw how to install LibreOffice on Arch. It is one of the best Open Source alternative tools for MS Office Suite Applications. LibreOffice is cross platform which means it can be installed and used even on MacOS and Windows as well! Overall it’s a versatile Office application which is very well geared towards your document handling needs.