Complete Tutorial: Successfully Installing LibreOffice in Ubuntu OS

Complete Tutorial: Successfully Installing LibreOffice in Ubuntu OS

Andrew Lv13

Complete Tutorial: Successfully Installing LibreOffice in Ubuntu OS

Key Takeaways

  • To install LibreOffice on Ubuntu, first, update your system’s package list then run the “apt install libreoffice” command.
  • You can also install LibreOffice using Snap. Run the “sudo snap install libreoffice” command in the terminal to install LibreOffice on Ubuntu.
  • To use LibreOffice without installation, first download its AppImage. Then, right-click the AppImage file, go to the file properties, and check off the “Allow Executing File As Program” option. After that, run the AppImage to start using LibreOffice.

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?

LibreOffice is an open-source and free office productivity suite. It is one of the best alternatives to Microsoft Office on 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:

  • LibreOffice is free and open source, while its alternatives like Microsoft Office are proprietary and expensive.
  • Available on different platforms, including Windows, macOS, and Linux.
  • Compatible with popular file formats, including those used by several versions of Microsoft Office.
  • It includes all the writing and editing features of other popular office suites.
  • LibreOffice has support for extensions and add-ons for additional functionality.

Luckily, most Linux distributions, such as Ubuntu , 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 can either get it from the official Ubuntu repositories using the apt command or from the official PPA (Personal Package Archive).

You can also install the LibreOffice suite as a Snap or DEB package on Ubuntu. We will also discuss how to run LibreOffice without installing—through an AppImage .

1. Install LibreOffice From the Ubuntu Repositories

To install LibreOffice from the official Ubuntu repositories, first, update the system package list with:

sudo apt update

After that, install the LibreOffice suite using the APT package manager:

sudo apt install libreoffice

a terminal with apt command to install libreoffice

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 using the 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 terminal and start by adding the LibreOffice PPA to your system:

sudo add-apt-repository ppa:libreoffice

Linux terminal displaying the addition of LibreOffice PPA to Ubuntu.

Next, update your Ubuntu packages list with:

sudo apt update

Linux terminal with command updating the package list using the apt update

After updating your system package list, install LibreOffice with the apt install command:

sudo apt install libreoffice -y

Linux terminal with the command to install LibreOffice using the apt

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 the sudo snap install libreoffice command. 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.

Linux terminal with the command to install LibreOffice using the snap

WonderFox DVD Ripper Pro

4. Download and Install the LibreOffice DEB Package

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-based Linux 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 can get from the official website and install on your Ubuntu system. To download and install the LibreOffice DEB package, visit the LibreOffice download page , select “Linux,” and click on the “Download” button.

LibreOffice official download page with deb file selected for download

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 using the cd command followed by the directory name:

cd ~/Downloads

Now unzip the compressed DEB file using the tar command. Make sure to replace the file name in the following command with the one you’ve downloaded:

tar zxvf LibreOffice_7.6.3_Linux_x86-64_deb.tar.gz

Linux terminal with tar command to extract downloaded deb files

After that, you need to change your current working directory to the newly created LibreOffice directory:

cd LibreOffice_7.6.3_Linux_x86-64_deb/

Inside the LibreOffice directory, navigate to the subdirectory named “DEBS”:

cd DEBS/

This subdirectory contains the Debian packages (DEB files) that you need to install LibreOffice on your system.

Finally, install LibreOffice using the dpkg command:

sudo dpkg -i *.deb

Linux terminal displaying the installation of LibreOffice using the dpkg command

www.sentrypc.com

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 *.deb part 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 can 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 the LibreOffice AppImage page and click on the “Download Fresh Basic” button.

LibreOffice AppImage download page

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.

A context menu of LibreOffice AppImage with properties option highlighted

In the opened dialog box, switch to the “Permissions” section and tick the “Allow Executing File As Program” option.

Permissions section with a tick mark to allow executing file as a program option

Now, that LibreOffice is ready to run, simply right-click on the AppImage Icon and select “Run”.

Context menu of LibreOffice AppImage with run option selected

You can now use the LibreOffice portable version.

LibreOffice on Ubuntu

OtsAV Radio Webcaster

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:

libreoffice –version

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.

Linux terminal with the command to check the LibreOffice version

This won't work if you installed LibreOffice as an AppImage since an AppImage is never _technically_ installed on your PC.

To launch LibreOffice from the terminal, run:

libreoffice

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.

LibreOffice on Ubuntu

CalendarBudget - Monthly subscription membership to CalendarBudget via web browser or mobile app. Support included.

You can also launch LibreOffice applications directly from the terminal. For example, the libreoffice –writer command will launch LibreOffice Writer directly from the terminal.

LibreOffice Writer on Ubuntu

How to Remove LibreOffice on Ubuntu

To completely remove LibreOffice and free up disk space on your system, run this command:

sudo apt remove –purge libreoffice* -y

Linux terminal displaying the removal of LibreOffice using the apt remove command

You can also remove the LibreOffice PPA repository from your Ubuntu system using the below command:

sudo add-apt-repository –remove ppa:libreoffice/ppa

Linux terminal with a command to remove the LibreOffice PPA

If you have installed LibreOffice using Snap, enter the following in the terminal to remove it:

sudo snap remove libreoffice

Linux terminal displaying the removal of LibreOffice using the snap remove command

To remove LibreOffice configuration files and dependencies, type:

sudo apt autoremove

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.

  • Title: Complete Tutorial: Successfully Installing LibreOffice in Ubuntu OS
  • Author: Andrew
  • Created at : 2024-08-30 14:39:08
  • Updated at : 2024-08-31 14:39:08
  • Link: https://tech-renaissance.techidaily.com/complete-tutorial-successfully-installing-libreoffice-in-ubuntu-os/
  • License: This work is licensed under CC BY-NC-SA 4.0.