Install LibreOffice on Ubuntu 24.04

Install LibreOffice on Ubuntu 24.04

LibreOffice is an open-source office productivity suite developed by The Document Foundation. It includes a range of applications such as Writer (word processing), Calc (spreadsheets), Impress (presentations), Draw (vector graphics), Base (databases), and Math (formula editing). This tutorial shows how to install LibreOffice on Ubuntu 24.04.

Install LibreOffice

Add the repository:

sudo add-apt-repository -y ppa:libreoffice/ppa

Run the following to install LibreOffice:

sudo apt install -y libreoffice

Testing LibreOffice

After the installation finishes, you can start LibreOffice applications from the application menu or by executing the following commands in the terminal:

libreoffice --writer
libreoffice --calc
libreoffice --draw
libreoffice --impress
libreoffice --math
libreoffice --base
LibreOffice on Ubuntu

Uninstall LibreOffice

To fully remove LibreOffice and its associated dependencies, execute the following command:

sudo apt purge --autoremove -y libreoffice

Remove repository:

sudo rm -rf /etc/apt/sources.list.d/libreoffice-ubuntu-ppa-noble.sources

You may also delete the LibreOffice configuration directory:

rm -rf ~/.config/libreoffice

Leave a Comment

Cancel reply

Your email address will not be published.