19
August
2026
Installing the FLibrary book library viewer on Linux
7:50

Installing the FLibrary book library viewer on Linux

19 August 2026 7:50

The FLibrary program is used to catalog a home electronic library of books in FB2 format.

To run Flibrary.exe, you can download and install the latest version of Wine from the official WineHQ project website. However, it's better to install WineHQ from the repository, as discussed below.

This instruction is based on an article in English "Installing WineHQ from your own Debian/Ubuntu repository".

1) Checking the installed version of Wine

wine --version

If the version of Wine 6.0.x is outdated.

3) Preparing to install WineHQ.

Checking the existence of the WineHQ directory and key:

ls -ld /etc/apt/keyrings 

If the directory does not exist:

sudo mkdir -pm755 /etc/apt/keyrings

If the directory exists, check for the presence of the winehq-archive.key file:

ls -l /etc/apt/keyrings/winehq-archive.key

If the file does not exist - download the key winehq-archive.key to the /etc/apt/keyrings folder:

wget -O - https://dl.winehq.org/wine-builds/winehq.key | sudo gpg --dearmor -o /etc/apt/keyrings/winehq-archive.key -

Checking the existence of the winehq.list repository file:

ls -l /etc/apt/sources.list.d/winehq*.*

If it exists, delete the winehq.list file from sources.list.d:

sudo rm /etc/apt/sources.list.d/winehq.list

3)Installing WineHQ

Determining the code name of the release (release) of the operating system:

lsb_release -a

3.1) If the OS is installed Ubuntu 22.04 "jammy" or Linux Mint 21.x or Ubuntu 24.04 "noble" or Linux Mint 22.x or Debian 12 "bookworm" or Debian 13 "trixie", run the command to add the i386 architecture:

sudo dpkg --add-architecture i386

3.2) Create the winehq.sources file

sudo nano /etc/apt/sources.list.d/winehq.sources

Types: deb
URIs: https://dl.winehq.org/wine-builds/ubuntu
Suites: jammy
Components: main
Architectures: amd64 i386
Signed-By: /etc/apt/keyrings/winehq-archive.key

Where in the file replace in Suites: **jammy** code word jammy to:

  • Ubuntu 24.04 & Mint 22.xx ->noble
  • Ubuntu 22.04 & Mint 21.xx ->jammy
  • Ubuntu 20.04 & Mint 19.xx ->focal
  • Debian 14 ->forky
  • Debian 13 ->trixie
  • Debian 12 ->bookworm

    3.3) Updating the package cache after connecting the WineHQ repository

    sudo apt update

Let's be patient. In modern Internet realities, the update speed of the package cache can be low, and the update can take a long time (about 5 minutes).

3.4) Installing the wine-hq package

Note. FLibrary is a Win32 application, so it requires either a 32-bit or 64-bit version of Wine. Since the wine-hq package is also built for 64-bit on a 64-bit operating system, I'll install it. Other OS versions, consisting entirely of 32-bit packages, may have a wine32 package, but I won't be discussing it here. This is because the hidden system folder .wine in the current user's directory is only compatible with the current edition—in this case, 64-bit.

If you need a stable version ("stable" branch), 64-bit:

sudo apt install --install-recommends winehq-stable

Or, if you need a newer, development version ("devel" branch), 64-bit:

sudo apt install --install-recommends winehq-devel

I installed the WineHQ-Stable version because... The WineHQ-Devel branch in Linux Mint 21 has a dependency problem.

As a result, the old version of the wine package will be removed and wine-hq-stable will be installed.

3.5) Checking the current version of Wine

wine --version

Now the wine version is 11.

4) Download the latest version of FLibrary for Windows

https://github.com/
heimdallr/books/releases
- EXE file version 2.7.

5) Installing FLibrary using Wine.

Run the installation FLibrary-2.7.0-setup-Windows.exe

wine FLibrary-2.7.0-setup-Windows.exe

Or, in Linux Explorer, double-click the above EXE file in Downloads.

We perform the installation for all computer users.

6) Run FLibrary.exe

  • Start - Wine - Programs - Flibrary - Flibrary

Or launch the *.desktop icon from the Desktop:

[Desktop Entry]
Name=FLibrary
Exec=env "WINEPREFIX=/home/user/.wine" wine "C:\\users\\Public\\Desktop\\FLibrary.lnk"
Type=Application
StartupNotify=true
Path=/home/user/.wine/drive_c/Program Files/FLibrary
Icon=CF98_FLibrary.0
StartupWMClass=flibrary.exe

To run the FLibrary library, which is written using the QT graphics framework, you need a working video card driver with support for 2D acceleration. For example, for an NVidia GF119 video card [article on installing it](см. статью по его установке, paragraph after the words "I removed the nouveau driver and immediately installed the nVidia driver"). Command to check the driver:inxi -Gx.



Related publications