The version of libreoffice included in 24.04 is based on a version at or above 7.5.0.0. As of that version a bug, or regression, LO bug 154975 (https://bugs.documentfoundation.org/show_bug.cgi?id=154975) was introduced. As a result, LO print requests to large format printers, such as my Canon iX6820 cannot be printed with portrait orientation to standard 8.5x11 paper.
Using a tar ball from documentfoundation.org for a release prior to 7.5.0.0, how would the downgrade be accomplished system wide? The tar ball of version 7.4.7.2, the last prior to the bug, consists of 42 .deb files.
The basic theory works like this:
LibreOffice
package is on top. It depends on a layer of other packages. Chart those layers.dpkg
to install the bottom layer of dependencies, then intermediate layers, and finally the top layer. A shortcut is to usedpkg
to install ALL packages in a directory (dpkg -i *
) and let dpkg figure out the order, but that method has risks.Reading your output is critical.
You may encounter dependency errors that you must solve.
Instead of installing so many deb files that may have dependency issues, use Flatpak!
First, install flatpak.
Setup flathub
Then, list the available versions.
Verify that version 7.4.5.1 belongs to commit
a80b2a616462fc2f3594b0013f6774865e99e3194c2b0397fbc7889c8b56ba83
Now first install libreoffice with flatpak and then install the specific version.
Run the following commands.
The second command requires sudo because you are trying to install a specific commit.
For Libreoffice 7.3.5.2, use
The Document Foundation keeps previous versions as tar balls which expand greatly. Upon expanding the tar ball, notice the directory structure created begins with two directories, readmes and DEBS. The readmes contain explanatory information which can be summarized as
This results in libreoffice being installed in a sub-directory within /opt
The version of libreoffice present in Xubuntu 24.04 has two symbolic links in /usr/bin. They are libreoffice and soffice. Both point to /usr/lib/libreoffice/program/soffice. Set aside the current symbolic links then create new ones that reference a similar place in /opt. For me, this was /opt/libreoffice7.3/program/soffice.
If someday, it is necessary to revert to the version that came with xubuntu 24.04, simply put those two original symbolic links back with their original names.