How To Install libcroco on Rocky Linux 8

In this tutorial we learn how to install libcroco on Rocky Linux 8. libcroco is A CSS2 parsing library

Introduction

In this tutorial we learn how to install libcroco on Rocky Linux 8.

What is libcroco

CSS2 parsing and manipulation library for GNOME

We can use yum or dnf to install libcroco on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libcroco.

Install libcroco on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libcroco

Install libcroco on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libcroco

How To Uninstall libcroco on Rocky Linux 8

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

sudo dnf remove libcroco

libcroco Package Contents on Rocky Linux 8

/usr/bin/csslint-0.6
/usr/lib/.build-id
/usr/lib/.build-id/30
/usr/lib/.build-id/30/b20a84548df0acff2a2e6ad71f71662378135d
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/3cbed24a0604b3b2f340f1e6d7b1bcfd1ef017
/usr/lib64/libcroco-0.6.so.3
/usr/lib64/libcroco-0.6.so.3.0.1
/usr/share/doc/libcroco
/usr/share/doc/libcroco/AUTHORS
/usr/share/doc/libcroco/NEWS
/usr/share/doc/libcroco/README
/usr/share/licenses/libcroco
/usr/share/licenses/libcroco/COPYING
/usr/share/licenses/libcroco/COPYING.LIB
/usr/bin/csslint-0.6
/usr/lib/.build-id
/usr/lib/.build-id/65
/usr/lib/.build-id/65/040465262fca1e9663a546165583dc61baa8f3
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/1bdbd55efb85f505c7d5974a081412588248e0
/usr/lib/libcroco-0.6.so.3
/usr/lib/libcroco-0.6.so.3.0.1
/usr/share/doc/libcroco
/usr/share/doc/libcroco/AUTHORS
/usr/share/doc/libcroco/NEWS
/usr/share/doc/libcroco/README
/usr/share/licenses/libcroco
/usr/share/licenses/libcroco/COPYING
/usr/share/licenses/libcroco/COPYING.LIB

References

Summary

In this tutorial we learn how to install libcroco on Rocky Linux 8 using yum and dnf.