Flair installation on AlmaLinux 9.7

Versions

Please provide the used software versions.

FLUKA: 4-5.1
Flair: 3.4-5.2
Operating system: AlmaLinux 9.7 (Moss Jungle Cat)
Compiler: GNU Fortran (GCC) 11.5.0

Description

I am trying to install flair on a AlmaLinux 9.7 machine following the guide on here Official flair site

Yet I get the following errors, which seem to be some dependency issue - but I am not able to resolve it. Below is the full output of my installation attempt:

[lars@lhep24 Downloads]$ sudo wget https://cern.ch/flair/download/fedora/flair.repo -O /etc/yum.repos.d/flair.repo
--2025-11-28 22:52:22--  https://cern.ch/flair/download/fedora/flair.repo
Resolving cern.ch (cern.ch)... 188.184.77.250, 2001:1458:d00:3c::100:2f9
Connecting to cern.ch (cern.ch)|188.184.77.250|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://flair.web.cern.ch/flair/download/fedora/flair.repo [following]
--2025-11-28 22:52:22--  https://flair.web.cern.ch/flair/download/fedora/flair.repo
Resolving flair.web.cern.ch (flair.web.cern.ch)... 137.138.6.72, 2001:1458:201:8b::100:23b
Connecting to flair.web.cern.ch (flair.web.cern.ch)|137.138.6.72|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://flair.web.cern.ch/download/fedora/flair.repo [following]
--2025-11-28 22:52:22--  https://flair.web.cern.ch/download/fedora/flair.repo
Reusing existing connection to flair.web.cern.ch:443.
HTTP request sent, awaiting response... 200 OK
Length: 100
Saving to: ‘/etc/yum.repos.d/flair.repo’

/etc/yum.repos.d/flair.repo      100%[=======================================================>]     100  --.-KB/s    in 0s

2025-11-28 22:52:22 (104 MB/s) - ‘/etc/yum.repos.d/flair.repo’ saved [100/100]

[lars@lhep24 Downloads]$ sudo dnf update
Last metadata expiration check: 0:24:13 ago on Fri 28 Nov 2025 10:28:13 PM CET.
Dependencies resolved.
Nothing to do.
Complete!
[lars@lhep24 Downloads]$ sudo dnf install flair
Last metadata expiration check: 0:24:18 ago on Fri 28 Nov 2025 10:28:13 PM CET.
Error:
 Problem: package flair-3.4-5.2.noarch from flairrepo requires flair-geoviewer, but none of the providers can be installed
  - cannot install the best candidate for the job
  - nothing provides libc.so.6(GLIBC_2.38)(64bit) needed by flair-geoviewer-3.3-1.x86_64 from flairrepo
  - nothing provides libm.so.6(GLIBC_2.35)(64bit) needed by flair-geoviewer-3.3-1.x86_64 from flairrepo
  - nothing provides libm.so.6(GLIBC_2.39)(64bit) needed by flair-geoviewer-3.3-1.x86_64 from flairrepo
  - nothing provides libstdc++.so.6(GLIBCXX_3.4.32)(64bit) needed by flair-geoviewer-3.3-1.x86_64 from flairrepo
  - nothing provides libc.so.6(GLIBC_2.38)(64bit) needed by flair-geoviewer-3.4-0.x86_64 from flairrepo
  - nothing provides libm.so.6(GLIBC_2.35)(64bit) needed by flair-geoviewer-3.4-0.x86_64 from flairrepo
  - nothing provides libm.so.6(GLIBC_2.39)(64bit) needed by flair-geoviewer-3.4-0.x86_64 from flairrepo
  - nothing provides libstdc++.so.6(GLIBCXX_3.4.32)(64bit) needed by flair-geoviewer-3.4-0.x86_64 from flairrepo
  - nothing provides libc.so.6(GLIBC_2.38)(64bit) needed by flair-geoviewer-3.4-1.x86_64 from flairrepo
  - nothing provides libm.so.6(GLIBC_2.35)(64bit) needed by flair-geoviewer-3.4-1.x86_64 from flairrepo
  - nothing provides libm.so.6(GLIBC_2.39)(64bit) needed by flair-geoviewer-3.4-1.x86_64 from flairrepo
  - nothing provides libstdc++.so.6(GLIBCXX_3.4.32)(64bit) needed by flair-geoviewer-3.4-1.x86_64 from flairrepo
  - nothing provides libc.so.6(GLIBC_2.38)(64bit) needed by flair-geoviewer-3.4-2.x86_64 from flairrepo
  - nothing provides libm.so.6(GLIBC_2.35)(64bit) needed by flair-geoviewer-3.4-2.x86_64 from flairrepo
  - nothing provides libm.so.6(GLIBC_2.39)(64bit) needed by flair-geoviewer-3.4-2.x86_64 from flairrepo
  - nothing provides libstdc++.so.6(GLIBCXX_3.4.32)(64bit) needed by flair-geoviewer-3.4-2.x86_64 from flairrepo
  - nothing provides libc.so.6(GLIBC_2.38)(64bit) needed by flair-geoviewer-3.4-3.x86_64 from flairrepo
  - nothing provides libm.so.6(GLIBC_2.35)(64bit) needed by flair-geoviewer-3.4-3.x86_64 from flairrepo
  - nothing provides libm.so.6(GLIBC_2.39)(64bit) needed by flair-geoviewer-3.4-3.x86_64 from flairrepo
  - nothing provides libstdc++.so.6(GLIBCXX_3.4.32)(64bit) needed by flair-geoviewer-3.4-3.x86_64 from flairrepo
  - nothing provides libc.so.6(GLIBC_2.38)(64bit) needed by flair-geoviewer-3.4-4.x86_64 from flairrepo
  - nothing provides libm.so.6(GLIBC_2.35)(64bit) needed by flair-geoviewer-3.4-4.x86_64 from flairrepo
  - nothing provides libm.so.6(GLIBC_2.39)(64bit) needed by flair-geoviewer-3.4-4.x86_64 from flairrepo
  - nothing provides libstdc++.so.6(GLIBCXX_3.4.32)(64bit) needed by flair-geoviewer-3.4-4.x86_64 from flairrepo
  - nothing provides libc.so.6(GLIBC_2.38)(64bit) needed by flair-geoviewer-3.4-5.1.x86_64 from flairrepo
  - nothing provides libm.so.6(GLIBC_2.35)(64bit) needed by flair-geoviewer-3.4-5.1.x86_64 from flairrepo
  - nothing provides libm.so.6(GLIBC_2.39)(64bit) needed by flair-geoviewer-3.4-5.1.x86_64 from flairrepo
  - nothing provides libstdc++.so.6(GLIBCXX_3.4.32)(64bit) needed by flair-geoviewer-3.4-5.1.x86_64 from flairrepo
  - nothing provides libc.so.6(GLIBC_2.38)(64bit) needed by flair-geoviewer-3.4-5.2.x86_64 from flairrepo
  - nothing provides libm.so.6(GLIBC_2.35)(64bit) needed by flair-geoviewer-3.4-5.2.x86_64 from flairrepo
  - nothing provides libm.so.6(GLIBC_2.39)(64bit) needed by flair-geoviewer-3.4-5.2.x86_64 from flairrepo
  - nothing provides libstdc++.so.6(GLIBCXX_3.4.32)(64bit) needed by flair-geoviewer-3.4-5.2.x86_64 from flairrepo
  - nothing provides libc.so.6(GLIBC_2.38)(64bit) needed by flair-geoviewer-3.4-5.x86_64 from flairrepo
  - nothing provides libm.so.6(GLIBC_2.35)(64bit) needed by flair-geoviewer-3.4-5.x86_64 from flairrepo
  - nothing provides libm.so.6(GLIBC_2.39)(64bit) needed by flair-geoviewer-3.4-5.x86_64 from flairrepo
  - nothing provides libstdc++.so.6(GLIBCXX_3.4.32)(64bit) needed by flair-geoviewer-3.4-5.x86_64 from flairrepo
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Input files

not dependent on input files

Any help on this would be greatly appreciated.

Cheers,
Lars

Dear Lars,

please try to install flair (and flair-geoviewer) from the .tgz packages manually.

You may need to install these additional packages: ed libX11-devel tk-devel python3-devel (The package name may be different on AlmaLinux tough)

Cheers,
David

Dear David

Using the .tgz archives I was able to install flair and flair-geoviewer. Thank you very much.

For future reference, I used the following commands:

Additional dependencies:

sudo dnf install ed libX11-devel tk-devel python3-devel python3-tkinter g++

Installing flair:

tar xzvf flair-3.4-5.2.tgz
cd flair-3.4/
make -j 8
sudo make install

Installing flair geoviewer:

tar xzvf flair-geoviewer-3.4-5.2.tgz 
cd flair-geoviewer-3.4/
make -j 8
sudo make install DESTDIR=/usr/local/flair

To get pillow systemwide I used:

python3 -m pip install --upgrade pip
python3 -m pip install --upgrade Pillow

What I also noticed is that you have to have a physical display connected to the PC during the compilation … else the flair-geoviewer compilation fails because it cannot detect the display …

Out of curiosity: why is it not working with the flair.repo, do you know?

Thanks again for all the help.

Cheers,
Lars

Dear Lars,

the repository is a general one for rpm based systems, and the package is compiled with a recent Fedora distribution (I belive).

Since AlmaLinux (and Centos, RedHat, Rocky, etc.) are server distributions, they have older system packages (like glibc). These older versions are missing features which are present on the current desktop Linux distributions and needed by the precompiled flair-geoviewer package.

Compiling from source will only use the available features on the actual system.

Cheers,
David

1 Like