Guides 11792 Published by

The guide shows how to install Nomacs, a lightweight yet feature‑rich image viewer for Fedora, by enabling RPM Fusion so the package pulls in all required runtime libraries. It also offers a step‑by‑step manual build path that installs development tools, clones the repository, compiles with qmake and make, and places binaries into /usr/local/bin. After installation users can set Nomacs as the default image opener, enable HDR support for RAW files, and learn shortcuts like Ctrl + O and F11 to quickly navigate pictures. The article warns of common pitfalls such as library mismatches after Fedora upgrades and recommends reinstalling the package to fix crashes with older TIFF files.



Install Nomacs on Fedora Linux: A No‑Nonsense Guide

If you’re tired of clunky Windows photo viewers and want something lightweight yet feature‑rich on Fedora, Nomacs is a solid pick. This guide walks you through the quick install and a few tweaks to make it feel native.

Why You’d Want Nomacs

I’ve seen people struggling with GIMP just for basic image viewing. Nomacs offers full‑screen slideshow mode, metadata editing, and cross‑platform sync—all without the bloated dependencies of a graphics suite.

Install from RPM Fusion (Easiest Route)

1. Enable the nonfree repository

   sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

RPM Fusion hosts the Nomacs package with all its runtime libraries, so you avoid pulling in a handful of unrelated dependencies.

2. Refresh metadata

   sudo dnf clean all && sudo dnf makecache

This just forces DNF to re‑index the repos; it keeps future installs snappy.

3. Install Nomacs

   sudo dnf install nomacs

The package pulls in nomacspack, a small helper that ensures your system can handle JPEG, PNG, and RAW formats natively.

4. Launch it

   nomacs

Or search “Nomacs” in the Activities overview. It should open with a clean window; no extra prompts or license screens.

Manual Build from Source (For the Curious)

If you prefer bleeding‑edge features or want to tweak compilation flags:

1. Install build prerequisites

   sudo dnf groupinstall "Development Tools" && \
   sudo dnf install qt5-qtbase-devel libpng-devel libjpeg-turbo-devel exiv2-devel

Without the Qt dev libs you’ll hit “Qt plugin not found” errors; without image libraries it will silently skip loading images.

2. Clone the repo

   git clone https://github.com/nomacs/nomacs.git
   cd nomacs
   git checkout release-3.7.6  # pick a stable tag

Using a release tag avoids unstable main‑branch quirks.

3. Compile

   qmake && make -j$(nproc)

qmake generates the Makefile; -j parallelizes compilation so you don’t wait forever on an 8‑core machine.

4. Install

   sudo make install

This drops binaries into /usr/local/bin, which Fedora prefers for user‑compiled stuff.

Post‑Installation Tweaks
  • Set as default image opener – Right‑click any photo, choose Open With => Nomacs, then check Always use this application.
  • Enable HDR support – If you’re dealing with RAW files from a camera that shoots in HDR, go to Settings => Image Handling and tick “Show HDR images”.
  • Keyboard shortcuts – Familiarize yourself with Ctrl+O for open, F11 for fullscreen, and Shift+S to toggle slideshow. It saves time when flipping through vacation snaps.
Common Pitfalls I’ve Seen

During a recent upgrade of Fedora 38, one user had Nomacs crash every time they opened an older TIFF file. The culprit turned out to be a mismatched libtiff version from the default repos. Running sudo dnf reinstall nomacs after updating the system resolved it because the package pulled in the correct dependency chain.

That’s all there is to it. Whether you go the RPM route or compile yourself, Nomacs stays lightweight and fast—exactly what a Fedora user needs for everyday image viewing without dragging in an entire graphics stack.