Quick Links
Summary
Whether you’re an experienced Ubuntu user or a beginner, LibreOffice is an excellent office suite that can significantly enhance your productivity. It provides various useful tools for word processing, presentations, and spreadsheets. This article covers LibreOffice installation on Ubuntu using different methods.
What Is LibreOffice?
LibreOfficeis an open-source and free office productivity suite. It is one of the best alternatives toMicrosoft Officeon Linux and is compatible with many other major office suites. You can use it to create and edit documents, spreadsheets, drawings, presentations, databases, and more.
Some key features of LibreOffice are:
Luckily, most Linux distributions, such asUbuntu, come with LibreOffice pre-installed. However, the default LibreOffice is not the most up-to-date version. Follow this guide to get the latest LibreOffice suite on Ubuntu.
How to Install LibreOffice on Ubuntu
There are several ways to install LibreOffice on Ubuntu. you may either get it from the official Ubuntu repositories using the apt command or from theofficial PPA(Personal Package Archive).
you’re able to also install the LibreOffice suite as aSnaporDEBpackage on Ubuntu. We will also discuss how to run LibreOffice without installing—through anAppImage.

1. Install LibreOffice From the Ubuntu Repositories
To install LibreOffice from the official Ubuntu repositories, first, update the system package list with:
After that, install the LibreOffice suite using the APT package manager:

The Ubuntu repository doesn’t always have the most up-to-date version of LibreOffice. Typically, it lags behind the official LibreOffice releases. So you might miss out on some new features or bug fixes. However, to get the latest stable release of LibreOffice, we recommend downloading it from its official PPA.
2. LibreOffice Installation Using the Official PPA
To install LibreOffice using the official PPA, first, add the LibreOffice PPA to your system. After that, install LibreOffice usingthe apt command.
We recommend using the official PPA to install LibreOffice on your Ubuntu. The version of LibreOffice provided by the official PPA is more up-to-date than the one in the Ubuntu repositories.

Open the terminaland start by adding the LibreOffice PPA to your system:
Next, update your Ubuntu packages list with:
After updating your system package list, install LibreOffice with theapt installcommand:
That’s it, you have successfully installed LibreOffice on Ubuntu.
3. Install the LibreOffice Snap Package on Ubuntu
To install LibreOffice using Snap, all you have to do is run thesudo snap install libreofficecommand. Snaps are versatile software packages that operate on various Linux distros. They come prepackaged with all the required dependencies, so they run smoothly and are isolated from the system.
Installing LibreOffice via the DEB package requires downloading and extracting the package file. A DEB package is a standard format for installing software on Debian-basedLinux distributions, such as Ubuntu. It contains the executable files, configuration files, and software metadata required for a program to run.

LibreOffice provides DEB packages that you may get from the official website and install on your Ubuntu system. To download and install the LibreOffice DEB package, visit theLibreOffice download page, select “Linux,” and click on the “Download” button.
You can save the DEB package file to your preferred location.

Next, open the terminal and head over to the directory where you saved the package file. For example, if you have saved the file in the “Downloads” directory, navigate to it usingthe cd commandfollowed by the directory name:
Now unzip the compressed DEB file using thetarcommand. ensure to replace the file name in the following command with the one you’ve downloaded:

After that, you need to change your current working directory to the newly created LibreOffice directory:
Inside the LibreOffice directory, navigate to the subdirectory named “DEBS”:
This subdirectory contains the Debian packages (DEB files) that you need to install LibreOffice on your system.
Finally, install LibreOffice using thedpkgcommand:
This command will install LibreOffice and its components on your system. It uses the dpkg tool to install the packages with the -i option. The*.debpart of the command means that you are selecting all the files that end with “.deb” in the current working directory. It will install all the Debian packages present inside the directory.
5. Run LibreOffice on Ubuntu Using the AppImage
LibreOffice provides AppImages that you may download from the official website and run on your Ubuntu system. An AppImage is a portable and self-contained software package that can run on any Linux distribution and platform. You don’t need to install or extract it and can execute it directly from a single executable file.
An AppImage also does not interfere with the system or other software and can be easily removed by deleting the file.

To download and run the LibreOffice AppImage, first visit theLibreOffice AppImage pageand click on the “Download Fresh Basic” button.
After that, save the AppImage file to your preferred location on your system.

Now, open the file manager and navigate to the directory where the AppImage is located. Right-click on the AppImage icon and click the “Properties” option in the context menu.
In the opened dialog box, switch to the “Permissions” section and tick the “Allow Executing File As Program” option.

Now, that LibreOffice is ready to run, simply right-click on the AppImage Icon and select “Run”.
You can now use the LibreOffice portable version.
Verify LibreOffice Installation on Ubuntu
To check if LibreOffice is successfully installed or not, all you need to do is open a terminal and enter:
If you see the version number in the output, it means that LibreOffice was successfully installed on your PC. If not, it’s recommended that you go through the installation steps again, or choose another way to install the app.

This won’t work if you installed LibreOffice as an AppImage since an AppImage is nevertechnicallyinstalled on your PC.
To launch LibreOffice from the terminal, run:
As soon as you open LibreOffice, the start center will appear. It allows you to create or open a document, spreadsheet, presentation, drawing, database, or formula.
You can also launch LibreOffice applications directly from the terminal. For example, thelibreoffice –writercommand will launch LibreOffice Writer directly from the terminal.
How to Remove LibreOffice on Ubuntu
To completely remove LibreOffice andfree up disk spaceon your system, run this command:
You can also remove the LibreOffice PPA repository from your Ubuntu system using the below command:
If you have installed LibreOffice using Snap, enter the following in the terminal to remove it:
To remove LibreOffice configuration files and dependencies, type:
If you installed LibreOffice as an AppImage, simply find the AppImage file and delete it as you would any other file.
Improve Your Work Performance on Ubuntu With LibreOffice
And that wraps up the guide on how you can install LibreOffice on Ubuntu. You can start working on your documents, spreadsheets, presentations, and more with this powerful and free office suite. To make things even better, you can also explore LibreOffice extensions and templates to enhance your productivity and creativity.