How To Install libcss on Fedora 34

libcss is A CSS parser and selection engine A CSS parser and selection engine

Introduction

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

What is libcss

LibCSS is a CSS (Cascading Style Sheet) parser and selection engine, written in C. It was developed as part of the NetSurf project. For further details, see README. Features * Parses CSS, good and bad * Simple C API * Low memory usage * Fast selection engine * Portable libcss 0.9.1 3.fc34 x86_64 154 k libcss-0.9.1-3.fc34.src.rpm fedora A CSS parser and selection engine http MIT LibCSS is a CSS (Cascading Style Sheet) parser and selection engine, written in C. It was developed as part of the NetSurf project. For further details, see README. Features * Parses CSS, good and bad * Simple C API * Low memory usage * Fast selection engine * Portable

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

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

sudo dnf -y install libcss

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

sudo yum -y install libcss

How To Uninstall libcss on Fedora 34

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

sudo dnf remove libcss

libcss Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/b104bc7daafaf07fdba8a4068d899085c14baf
/usr/lib/libcss.so.0
/usr/lib/libcss.so.0.9.1
/usr/share/doc/libcss
/usr/share/doc/libcss/README
/usr/share/licenses/libcss
/usr/share/licenses/libcss/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/56c32bd0f83d523d1e5b98b32b9da34c110a08
/usr/lib64/libcss.so.0
/usr/lib64/libcss.so.0.9.1
/usr/share/doc/libcss
/usr/share/doc/libcss/README
/usr/share/licenses/libcss
/usr/share/licenses/libcss/COPYING

References

Summary

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