How To Install perl-Cairo on Fedora 36
Introduction
In this tutorial we learn how to install perl-Cairo
on Fedora 36.
What is perl-Cairo
Cairo provides Perl bindings for the vector graphics library cairo. It supports multiple output targets, including the X Window Systems, PDF, and PNG. Cairo produces identical output on all those targets and makes use of hardware acceleration wherever possible.
We can use yum
or dnf
to install perl-Cairo
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Cairo.
Install perl-Cairo on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install perl-Cairo
using dnf
by running the following command:
sudo dnf -y install perl-Cairo
Install perl-Cairo on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install perl-Cairo
using yum
by running the following command:
sudo yum -y install perl-Cairo
How To Uninstall perl-Cairo on Fedora 36
To uninstall only the perl-Cairo
package we can use the following command:
sudo dnf remove perl-Cairo
perl-Cairo Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/284cc1ac2c5b094dc8b8aac1da308eb387169c
/usr/lib64/perl5/vendor_perl/Cairo
/usr/lib64/perl5/vendor_perl/Cairo.pm
/usr/lib64/perl5/vendor_perl/Cairo/Install
/usr/lib64/perl5/vendor_perl/Cairo/Install/Files.pm
/usr/lib64/perl5/vendor_perl/Cairo/Install/cairo-perl-auto.h
/usr/lib64/perl5/vendor_perl/Cairo/Install/cairo-perl-auto.typemap
/usr/lib64/perl5/vendor_perl/Cairo/Install/cairo-perl.h
/usr/lib64/perl5/vendor_perl/Cairo/Install/cairo-perl.typemap
/usr/lib64/perl5/vendor_perl/Cairo/Install/doctypes
/usr/lib64/perl5/vendor_perl/auto/Cairo
/usr/lib64/perl5/vendor_perl/auto/Cairo/Cairo.so
/usr/share/doc/perl-Cairo
/usr/share/doc/perl-Cairo/ChangeLog.pre-git
/usr/share/doc/perl-Cairo/LICENSE
/usr/share/doc/perl-Cairo/NEWS
/usr/share/doc/perl-Cairo/README
/usr/share/doc/perl-Cairo/TODO
/usr/share/doc/perl-Cairo/examples
/usr/share/doc/perl-Cairo/examples/freetype-font.pl
/usr/share/doc/perl-Cairo/examples/glyph-text.pl
/usr/share/doc/perl-Cairo/examples/mime-unique-id.pl
/usr/share/doc/perl-Cairo/examples/pdf-tagged-text.pl
/usr/share/doc/perl-Cairo/examples/png
/usr/share/doc/perl-Cairo/examples/png-streams.pl
/usr/share/doc/perl-Cairo/examples/png/README
/usr/share/doc/perl-Cairo/examples/png/bevels.pl
/usr/share/doc/perl-Cairo/examples/png/caps_joins.pl
/usr/share/doc/perl-Cairo/examples/png/hering.pl
/usr/share/doc/perl-Cairo/examples/png/outline.pl
/usr/share/doc/perl-Cairo/examples/png/snapping.pl
/usr/share/doc/perl-Cairo/examples/png/spiral.pl
/usr/share/doc/perl-Cairo/examples/png/spline-pipeline.pl
/usr/share/doc/perl-Cairo/examples/png/splines_tolerance.pl
/usr/share/doc/perl-Cairo/examples/png/star_and_ring.pl
/usr/share/doc/perl-Cairo/examples/png/stars.pl
/usr/share/doc/perl-Cairo/examples/png/text-rotate.pl
/usr/share/doc/perl-Cairo/examples/png/text.pl
/usr/share/doc/perl-Cairo/examples/simple.pl
/usr/share/doc/perl-Cairo/examples/subclassing.pl
/usr/share/doc/perl-Cairo/examples/twisted-text.pl
/usr/share/man/man3/Cairo.3pm.gz
References
Summary
In this tutorial we learn how to install perl-Cairo
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).