Install Collabora Office Classic with DNF5

Following the instructions on Collabora Office’s site for Fedora dont work with my F43 F43 F44 .
What do I do?

Collabora Office Classic Unstable Snapshots - Collabora Online and Collabora Office shows the instructions for DNF4.

For DNF 5, which is from Fedora 41 or later, you need to modify their instructions after ‘Add newly created repo’ as I have written below.

Define the repository for CollaboraOffice in a .repo file

sudo vi /etc/yum.repos.d/collaboraoffice.repo

Add the text below in the file

[collaboraoffice]
name=collaboraoffice
baseurl=https://www.collaboraoffice.com/downloads/Collabora-Office-25-Snapshot/Linux/yum/
repo_gpgcheck=0
gpgcheck=0
enabled=1
gpgkey=
sslverify=1
ssl=cacert=/etc/pki/tls/certs/ca-bundle.crt

Quit vim by typing

:wq

Add newly created repo

sudo dnf config-manager addrepo --from-repofile=/etc/yum.repos.d/collaboraoffice.repo

Enable Repo

sudo dnf config-manager setopt collaboraoffice.enabled=1

Install Collabora Office Desktop

dnf install collaboraoffice-desktop

On a fresh 43 WS VM, and on my 44 installation I did not need to add the repository or enable it after creating the file. I was just able to to do sudo dnf --refresh install …

sudo tee /etc/yum.repos.d/collaboraoffice.repo > /dev/null << EOF
[collaboraoffice]
name=collaboraoffice
baseurl=https://www.collaboraoffice.com/downloads/Collabora-Office-25-Snapshot/Linux/yum/
repo_gpgcheck=0
gpgcheck=0
enabled=1
gpgkey=
sslverify=1
ssl=cacert=/etc/pki/tls/certs/ca-bundle.crt
EOF

If you don’t want to use vi/vim/nano you should be able to use the above.

This works flawlessly in F 43 Mate and also in a VM with F 43 Cinnamon. Thanks!