I’ve just recently migrated from Win10 to Fedora 40 KDE, and have been setting up my Thinkpad for academic research and project management. I’m posting here because it took me a while to figure out how to get Zotero 7 working on Fedora 40. Hope this helps someone.
Problems:
- There is no RPM package for Zotero.
- The Zotero Flatpak from Flathub is unsupported by Zotero.org, and is broken (LibreOffice extension doesn’t work).
- The official Zotero installation guide for their official tarball doesn’t work on Fedora 40, and the developer doesn’t seem to clarify this in their own forum.
- The ‘run’ commands in their FAQ don’t work in Fedora.
Offered solution
Install the following libraries beforehand: libXinerama, cups-libs, dbus-glib
(Zotero will not run without these libraries)
sudo dnf install libXinerama cups-libs dbus-glib
Extract the official tarball from Zotero into a temporary folder (e.g. Downloads), then rename this extracted folder to ‘zotero’
Move this ‘zotero’ folder to /opt/zotero/: e.g. from the Downloads folder:
sudo mv ./zotero/ /opt/zotero/
Then go to /opt/zotero/ and do the following:
./set_launcher_icon (you can’t just type ‘set_launcher_icon’ as their FAQ guide instructs)
ln -s /opt/zotero/zotero.desktop ~/.local/share/applications/zotero.desktop
Zotero launch icon should now appear in the desktop.
If you just want to run Zotero from its own folder then you type ./zotero and not just “zotero” by itself.
Feel free to add any corrections/amendments. Cheers
(Edits: typos)