Manually Upgrading LibreOffice in Ubuntu

Every working person needs an office suite installed on their computer. Besides the common WPS Office and Microsoft Office, LibreOffice is also a good choice for Linux users. The default LibreOffice version is often behind the official version, so if you want to experience new features, you'll need to manually download the latest installation package from the official website. The following uses the deb version as an example to demonstrate the upgrade process.

1. Download the latest DEB installation package

The DEB package downloaded from the official website will be in the format of LibreOffice_$version_Linux_x86-deb.tar.gz

1➜ soft ls -al LibreOffice_7.5.0_Linux_x86-64_deb.tar.gz
2-rw-rw-r-- 1 mephisto mephisto 198614921 Feb 3 14:42 LibreOffice_7.5.0_Linux_x86-64_deb.tar.gz

2. Unzip and install

After unzipping, change to the DEBS directory and install it using sudo dpkg -i *.deb Patience is encouraged. Read the readme file first.

 1➜ tar -xvf LibreOffice_7.5.0_Linux_x86-64_deb.tar.gz
 2➜ soft cd LibreOffice_7.5.0.3_Linux_x86-64_deb
 3➜ LibreOffice_7.5.0.3_Linux_x86-64_deb ls
 4DEBS readmes
 5➜ LibreOffice_7.5.0.3_Linux_x86-64_deb cd DEBS
 6➜ DEBS ls
 7libobasis7.5-base_7.5.0.3-3_amd64.deb libobasis7.5-images_7.5.0.3-3_amd64.deb libobasis7.5-xsltfilter_7.5.0.3-3_amd64.deb
 8libobasis7.5-calc_7.5.0.3-3_amd64.deb libobasis7.5-impress_7.5.0.3-3_amd64.deb libreoffice7.5_7.5.0.3-3_amd64.deb
 9libobasis7.5-core_7.5.0.3-3_amd64.deb libobasis7.5-kde-integration_7.5.0.3-3_amd64.deb libreoffice7.5-base_7.5.0.3-3_amd64.deb
10libobasis7.5-draw_7.5.0.3-3_amd64.deb libobasis7.5-librelogo_7.5.0.3-3_amd64.deb libreoffice7.5-calc_7.5.0.3-3_amd64.deb
11libobasis7.5-en-us_7.5.0.3-3_amd64.deb libobasis7.5-libreofficekit-data_7.5.0.3-3_amd64.deb libreoffice7.5-debian-menus_7.5.0-3_all.deb
12libobasis7.5-extension-beanshell-script-provider_7.5.0.3-3_amd64.deb libobasis7.5-math_7.5.0.3-3_amd64.deb libreoffice7.5-dict-en_7.5.0.3-3_amd64.deb
13libobasis7.5-extension-javascript-script-provider_7.5.0.3-3_amd64.deb libobasis7.5-ogltrans_7.5.0.3-3_amd64.deb libreoffice7.5-dict-es_7.5.0.3-3_amd64.deb
14libobasis7.5-extension-mediawiki-publisher_7.5.0.3-3_amd64.deb libobasis7.5-onlineupdate_7.5.0.3-3_amd64.deb libreoffice7.5-dict-fr_7.5.0.3-3_amd64.deb
15libobasis7.5-extension-nlpsolver_7.5.0.3-3_amd64.deb libobasis7.5-ooofonts_7.5.0.3-3_amd64.deb libreoffice7.5-draw_7.5.0.3-3_amd64.deb
16libobasis7.5-extension-pdf-import_7.5.0.3-3_amd64.deb libobasis7.5-ooolinguistic_7.5.0.3-3_amd64.deb libreoffice7.5-en-us_7.5.0.3-3_amd64.deb
17libobasis7.5-extension-report-builder_7.5.0.3-3_amd64.deb libobasis7.5-postgresql-sdbc_7.5.0.3-3_amd64.deb libreoffice7.5-impress_7.5.0.3-3_amd64.deb
18libobasis7.5-firebird_7.5.0.3-3_amd64.deb libobasis7.5-python-script-provider_7.5.0.3-3_amd64.deb libreoffice7.5-math_7.5.0.3-3_amd64.deb
19libobasis7.5-gnome-integration_7.5.0.3-3_amd64.deb libobasis7.5-pyuno_7.5.0.3-3_amd64.deb libreoffice7.5-ure_7.5.0.3-3_amd64.deb
20libobasis7.5-graphicfilter_7.5.0.3-3_amd64.deb libobasis7.5-writer_7.5.0.3-3_amd64.deb libreoffice7.5-writer_7.5.0.3-3_amd64.deb
21➜ DEBS pwd
22/home/mephisto/Downloads/soft/LibreOffice_7.5.0.3_Linux_x86-64_deb/DEBS
23➜ DEBS sudo dpkg -i *.deb

3. Uninstall the specified version

Upgrade Libreoffice frequently If you install multiple versions, multiple versions will remain. People with obsessive compulsive disorder typically only keep the versions they want. In this case, you need to remove specific versions.

1sudo apt remove libreoffice-\*

Or

1sudo apt remove --purge libreoffice-\*

For example, if I want to remove version 7.4, I would remove all of them.

1sudo apt remove libreoffice7.4-\*
2sudo apt remove --purge libreoffice7.4-\*

Similarly, remove all sudo apt remove libreoffice*

If necessary, you can also remove the libobasis package sudo apt remove libobasis7.4-\*

This way, you can always choose the appropriate LibreOffice version to keep based on your preferences.

Lastmod: Friday, August 8, 2025

See Also:

Translations: