In Fedora 33 Cinnamon Desktop from Fedora Spins, I, an ordinary user, have been doing as follows:
Login as root:
su Uninstall old version:
sudo dnf remove libreoffice* Remove configuration folder of LibreOffice:
rm -rf libreoffice
rm -rf libreofficedev Install new version:
Go to rpm directory
Enter root password
su -c ‘dnf install *.rpm’
Are there any ways to do it easier than this ?
This is my note book, HP 14-ck0023TU.
I have been using Fedora 33 Cinnamon Desktop from Fedora Spins with dual boot with pre-installed Windows10 from the factory.
Now, I am using 22.214.171.124-2 version by upgrading process as shown in my question.
If I would like to upgrade to libreoffice-126.96.36.199-3.fc33 or libreoffice-188.8.131.52-1.fc33, can you please help teach me ?
Manual upgrades, every time there’s a new version, seems tiresome. https://flathub.org/apps/details/org.libreoffice.LibreOffice Flathub follows LibreOffice fresh branch and upgrades to the latest minor (e.g. 7.0.3) and major (e.g. 7.1) released version pretty quickly.
After LibreOffice 7.1 goes stable, you can have it without waiting for Fedora 34. Just remove RPM version first.
There’s also a koji CLI client streamlining download of packages that are not yet in repositories, but flatpak (with auto-upgrades, faster releases and much smaller downloads) is just better in that case, even than a one-liner: cd $(mktemp -d) && koji download-build --arch=x86_64 --arch=noarch libreoffice-184.108.40.206-1.fc33 && dnf upgrade *
Assuming your install was from the official fedora repo then a simple “sudo dnf upgrade” should be all that is needed.
If it was not installed from the fedora repo then I would suggest you remove it and then do “sudo dnf install libreoffice*”
From that point on it will stay updated with every update you do on your system and you don’t have to deal with the ~/.config part you showed in your original post. You also do not have to remove the older version when a fedora update gives you a newer version.