How To Install librsvg2 on Rocky Linux 8
In this tutorial we learn how to install librsvg2 on Rocky Linux 8. librsvg2 is An SVG library based on cairo
Introduction
In this tutorial we learn how to install librsvg2
on Rocky Linux 8.
What is librsvg2
An SVG library based on cairo.
We can use yum
or dnf
to install librsvg2
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install librsvg2.
Install librsvg2 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 librsvg2
using dnf
by running the following command:
sudo dnf -y install librsvg2
Install librsvg2 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 librsvg2
using yum
by running the following command:
sudo yum -y install librsvg2
How To Uninstall librsvg2 on Rocky Linux 8
To uninstall only the librsvg2
package we can use the following command:
sudo dnf remove librsvg2
librsvg2 Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/19
/usr/lib/.build-id/19/b7bd1f207aa61c328c3845fd289b8d366efded
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/c59a47ab5d9d7dfea20e17518afea34c33f754
/usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
/usr/lib64/girepository-1.0
/usr/lib64/girepository-1.0/Rsvg-2.0.typelib
/usr/lib64/librsvg-2.so.2
/usr/lib64/librsvg-2.so.2.42.7
/usr/share/doc/librsvg2
/usr/share/doc/librsvg2/CONTRIBUTING.md
/usr/share/doc/librsvg2/README.md
/usr/share/licenses/librsvg2
/usr/share/licenses/librsvg2/COPYING
/usr/share/licenses/librsvg2/COPYING.LIB
/usr/share/thumbnailers
/usr/share/thumbnailers/librsvg.thumbnailer
/usr/lib/.build-id
/usr/lib/.build-id/24
/usr/lib/.build-id/24/7092868e22da57c73d2a716e0430e1049120b6
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/00cd6def66bf9cb46b35eae460d724a0c6ad2c
/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
/usr/lib/girepository-1.0
/usr/lib/girepository-1.0/Rsvg-2.0.typelib
/usr/lib/librsvg-2.so.2
/usr/lib/librsvg-2.so.2.42.7
/usr/share/doc/librsvg2
/usr/share/doc/librsvg2/CONTRIBUTING.md
/usr/share/doc/librsvg2/README.md
/usr/share/licenses/librsvg2
/usr/share/licenses/librsvg2/COPYING
/usr/share/licenses/librsvg2/COPYING.LIB
/usr/share/thumbnailers
/usr/share/thumbnailers/librsvg.thumbnailer
References
Summary
In this tutorial we learn how to install librsvg2
on Rocky Linux 8 using yum and dnf.