Linux Mint

How to Install LibreOffice on Linux Mint 21

LibreOffice is an open-source, popular and free office suite used by millions of worldwide users. It consists of many creative features with a smart interface that enhances users’ productivity.

LibreOffice suite come with many components like Calc. (spreadsheet), Draw (vector graphics and flowcharts), Math (formula editing), Base (database management), and Writer (word processing).

How to Install LibreOffice on Linux Mint 21

We have multiple techniques to get LibreOffice tool on Linux Mint system:

  1. Using Default Repository
  2. Using Snap

1: Install LibreOffice Using Default Repository

In the first move, you are required to update the system repository through the given command to let refresh all the packages:

$ sudo apt update && sudo apt upgrade

Now, you can get LibreOffice on Linux Mint 21 system by running the given command:

$ sudo apt install libreoffice

Run the version command to ensure if system has installed the latest release of LibreOffice:

$ libreoffice --version

Type to launch LibreOffice tool on Linux Mint screen:

$ libreoffice

However, if you want to uninstall the LibreOffice tool from the Linux Mint 21 system; you can do it by the following command:

$ sudo apt autoremove libreoffice --purge

2: Install LibreOffice Using Snap

To install any tool from the snap store, you are required enable snap and for that delete the nosnap.pref file from the system first using command:

$ sudo rm /etc/apt/preferences.d/nosnap.pref

https://lh5.googleusercontent.com/11f2DTKak3FWnlYmAeJt7KEien6BNpdnmNgK23jtmjoLn7J_6sPQz5tJP_--KAbOTDTg9ajihxNlYZaBcRmZNvVkPvuKX4sRnJ1Q0k6Vpl4x412-laZN0za3vl4wI1bUOkN8UUU7sh4ZoQ6A3HLL1wEZ1Gp68qyiaHpIFZxCzia7cWwBmyG_jZaAEnX9EcG6rQ4

Install snapd (snap package manager) on Linux Mint system:

$ sudo apt install snapd

https://lh6.googleusercontent.com/w7VC9t-JkP0fcc-L4NOpZ1bFK2SAEjHziz6olhwzwHsizPaFAuHatH3rEbTxB0awd1NUmEojH8emcqeKr-8c-zLtDt9vbh1jVYYZwhmG7c2XBxKdTzRA3SoWzJcHs5BtmJSun7fxiHkArJFarooqsSUrVjQpw4VauvmCj6uCkkv2oDlcn9heJK-l4U8gcAzv6pc

Now, you can install LibreOffice using the snap package through the given-below command in the terminal:

$ sudo snap install libreoffice

To remove LibreOffice using the snap command, type:

$ sudo snap remove libreoffice

Conclusion

LibreOffice is a popular productivity suite that supports many computing platforms including Linux systems. It is a project of TDF (The Document Foundation) and is used by millions of worldwide users. This tool consists of many other applications like Calc, Draw, Writer, and Math. This guide is focused on the installation of the LibreOffice suite which is done in two different ways; through the PPA repository and the snap package.

About the author

Syeda Wardah Batool

I am a Software Engineer Graduate and Self Motivated Linux writer. I also love to read latest Linux books. Moreover, in my free time, i love to read books on Personal development.