How To Install xchm on Fedora 34

xchm is A GUI front-end to CHMlib

Introduction

In this tutorial we learn how to install xchm on Fedora 34.

What is xchm

xCHM is a wxWidgets-based .chm viewer. xCHM can show the contents tree if one is available, print the displayed page, change fonts faces and size, work with bookmarks, do the usual history stunts (forward, back, home), provide a searchable index and seach for text in the whole book. The search is a fast B-tree search, based on the internal $FIftiMain file found inside indexed .chm archives, and it can be customized to search in content or just the topics’ titles.

We can use yum or dnf to install xchm on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install xchm.

Install xchm on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install xchm using dnf by running the following command:

sudo dnf -y install xchm

Install xchm on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install xchm using yum by running the following command:

sudo yum -y install xchm

How To Uninstall xchm on Fedora 34

To uninstall only the xchm package we can use the following command:

sudo dnf remove xchm

xchm Package Contents on Fedora 34

/usr/bin/xchm
/usr/lib/.build-id
/usr/lib/.build-id/28
/usr/lib/.build-id/28/bfc80c98b6ecdb4f5e5207abb2f449a3334a9b
/usr/share/applications/xchm.desktop
/usr/share/doc/xchm
/usr/share/doc/xchm/AUTHORS
/usr/share/doc/xchm/COPYING
/usr/share/doc/xchm/ChangeLog
/usr/share/doc/xchm/README
/usr/share/icons/hicolor
/usr/share/icons/hicolor/128x128
/usr/share/icons/hicolor/128x128/apps
/usr/share/icons/hicolor/128x128/apps/xchm.xpm
/usr/share/icons/hicolor/128x128/mimetypes
/usr/share/icons/hicolor/128x128/mimetypes/application-x-chm.xpm
/usr/share/icons/hicolor/128x128/mimetypes/gnome-mime-application-x-chm.xpm
/usr/share/icons/hicolor/16x16
/usr/share/icons/hicolor/16x16/apps
/usr/share/icons/hicolor/16x16/apps/xchm.xpm
/usr/share/icons/hicolor/16x16/mimetypes
/usr/share/icons/hicolor/16x16/mimetypes/application-x-chm.xpm
/usr/share/icons/hicolor/16x16/mimetypes/gnome-mime-application-x-chm.xpm
/usr/share/icons/hicolor/32x32
/usr/share/icons/hicolor/32x32/apps
/usr/share/icons/hicolor/32x32/apps/xchm.xpm
/usr/share/icons/hicolor/32x32/mimetypes
/usr/share/icons/hicolor/32x32/mimetypes/application-x-chm.xpm
/usr/share/icons/hicolor/32x32/mimetypes/gnome-mime-application-x-chm.xpm
/usr/share/icons/hicolor/48x48
/usr/share/icons/hicolor/48x48/apps
/usr/share/icons/hicolor/48x48/apps/xchm.xpm
/usr/share/icons/hicolor/48x48/mimetypes
/usr/share/icons/hicolor/48x48/mimetypes/application-x-chm.xpm
/usr/share/icons/hicolor/48x48/mimetypes/gnome-mime-application-x-chm.xpm
/usr/share/locale/be/LC_MESSAGES/xchm.mo
/usr/share/locale/bg/LC_MESSAGES/xchm.mo
/usr/share/locale/cs/LC_MESSAGES/xchm.mo
/usr/share/locale/de/LC_MESSAGES/xchm.mo
/usr/share/locale/es/LC_MESSAGES/xchm.mo
/usr/share/locale/fr/LC_MESSAGES/xchm.mo
/usr/share/locale/gr/LC_MESSAGES/xchm.mo
/usr/share/locale/hu/LC_MESSAGES/xchm.mo
/usr/share/locale/it/LC_MESSAGES/xchm.mo
/usr/share/locale/lv/LC_MESSAGES/xchm.mo
/usr/share/locale/pl/LC_MESSAGES/xchm.mo
/usr/share/locale/pt_BR/LC_MESSAGES/xchm.mo
/usr/share/locale/pt_PT/LC_MESSAGES/xchm.mo
/usr/share/locale/ro/LC_MESSAGES/xchm.mo
/usr/share/locale/ru/LC_MESSAGES/xchm.mo
/usr/share/locale/sk/LC_MESSAGES/xchm.mo
/usr/share/locale/sv/LC_MESSAGES/xchm.mo
/usr/share/locale/uk/LC_MESSAGES/xchm.mo
/usr/share/locale/zh_CN/LC_MESSAGES/xchm.mo
/usr/share/locale/zh_TW/LC_MESSAGES/xchm.mo

References

Summary

In this tutorial we learn how to install xchm on Fedora 34 using yum and dnf.