How To Install libhubbub on Fedora 34

libhubbub is An HTML5 compliant parsing library An HTML5 compliant parsing library

Introduction

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

What is libhubbub

Hubbub is an HTML5 compliant parsing library, written in C. It was developed as part of the NetSurf project. The HTML5 specification defines a parsing algorithm, based on the behavior of mainstream browsers, which provides instructions for how to parse all markup, both valid and invalid. As a result, Hubbub parses web content well. Features * Parses HTML, good and bad * Simple C API * Fast * Character encoding detection * Well-tested (~90% test coverage) * Portable libhubbub 0.3.7 3.fc34 x86_64 98 k libhubbub-0.3.7-3.fc34.src.rpm fedora An HTML5 compliant parsing library http MIT Hubbub is an HTML5 compliant parsing library, written in C. It was developed as part of the NetSurf project. The HTML5 specification defines a parsing algorithm, based on the behavior of mainstream browsers, which provides instructions for how to parse all markup, both valid and invalid. As a result, Hubbub parses web content well. Features * Parses HTML, good and bad * Simple C API * Fast * Character encoding detection * Well-tested (~90% test coverage) * Portable

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

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

sudo dnf -y install libhubbub

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

sudo yum -y install libhubbub

How To Uninstall libhubbub on Fedora 34

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

sudo dnf remove libhubbub

libhubbub Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/23
/usr/lib/.build-id/23/3fd0edd5481a077777c1e9f2d6cbf1f755cf21
/usr/lib/libhubbub.so.0
/usr/lib/libhubbub.so.0.3.7
/usr/share/doc/libhubbub
/usr/share/doc/libhubbub/README
/usr/share/licenses/libhubbub
/usr/share/licenses/libhubbub/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/d156a318642f03919d34a9cd90a75140eef83e
/usr/lib64/libhubbub.so.0
/usr/lib64/libhubbub.so.0.3.7
/usr/share/doc/libhubbub
/usr/share/doc/libhubbub/README
/usr/share/licenses/libhubbub
/usr/share/licenses/libhubbub/COPYING

References

Summary

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