How To Install hgview on Fedora 34

hgview is Mercurial interactive Qt based history viewer

Introduction

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

What is hgview

hgview is a simple tool aiming at visually navigating Mercurial repository history. It has been written with efficiency in mind, both in terms of computational efficiency and user experience efficiency. This main package provides a Qt based GUI. A curses based UI is also available.

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

Install hgview 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 hgview using dnf by running the following command:

sudo dnf -y install hgview

Install hgview 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 hgview using yum by running the following command:

sudo yum -y install hgview

How To Uninstall hgview on Fedora 34

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

sudo dnf remove hgview

hgview Package Contents on Fedora 34

/usr/lib/python3.9/site-packages/hgviewlib/qt5
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__init__.py
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/application.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/application.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/blockmatcher.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/blockmatcher.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/config.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/config.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/filediffviewer_ui.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/filediffviewer_ui.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/fileviewer_ui.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/fileviewer_ui.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/helpviewer.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/helpviewer.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/helpviewer_ui.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/helpviewer_ui.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/hgfiledialog.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/hgfiledialog.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/hgfileview.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/hgfileview.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/hgmanifestdialog.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/hgmanifestdialog.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/hgqv_rc.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/hgqv_rc.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/hgqv_ui.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/hgqv_ui.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/hgrepomodel.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/hgrepomodel.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/hgrepoviewer.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/hgrepoviewer.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/lexers.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/lexers.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/manifestviewer_ui.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/manifestviewer_ui.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/mixins.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/mixins.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/quickbar.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/quickbar.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/revision_description.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/revision_description.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/revisions_table.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/revisions_table.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/styleditemdelegate.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/styleditemdelegate.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/widgets.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/__pycache__/widgets.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgviewlib/qt5/application.py
/usr/lib/python3.9/site-packages/hgviewlib/qt5/blockmatcher.py
/usr/lib/python3.9/site-packages/hgviewlib/qt5/config.py
/usr/lib/python3.9/site-packages/hgviewlib/qt5/filediffviewer_ui.py
/usr/lib/python3.9/site-packages/hgviewlib/qt5/fileviewer_ui.py
/usr/lib/python3.9/site-packages/hgviewlib/qt5/helpviewer.py
/usr/lib/python3.9/site-packages/hgviewlib/qt5/helpviewer_ui.py
/usr/lib/python3.9/site-packages/hgviewlib/qt5/hgfiledialog.py
/usr/lib/python3.9/site-packages/hgviewlib/qt5/hgfileview.py
/usr/lib/python3.9/site-packages/hgviewlib/qt5/hgmanifestdialog.py
/usr/lib/python3.9/site-packages/hgviewlib/qt5/hgqv_rc.py
/usr/lib/python3.9/site-packages/hgviewlib/qt5/hgqv_ui.py
/usr/lib/python3.9/site-packages/hgviewlib/qt5/hgrepomodel.py
/usr/lib/python3.9/site-packages/hgviewlib/qt5/hgrepoviewer.py
/usr/lib/python3.9/site-packages/hgviewlib/qt5/lexers.py
/usr/lib/python3.9/site-packages/hgviewlib/qt5/manifestviewer_ui.py
/usr/lib/python3.9/site-packages/hgviewlib/qt5/mixins.py
/usr/lib/python3.9/site-packages/hgviewlib/qt5/quickbar.py
/usr/lib/python3.9/site-packages/hgviewlib/qt5/revision_description.py
/usr/lib/python3.9/site-packages/hgviewlib/qt5/revisions_table.py
/usr/lib/python3.9/site-packages/hgviewlib/qt5/styleditemdelegate.py
/usr/lib/python3.9/site-packages/hgviewlib/qt5/widgets.py
/usr/share/appdata/hgview.appdata.xml
/usr/share/applications/hgview.desktop
/usr/share/pixmaps/hgview.png

References

Summary

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