How To Install perl-ExtUtils-XSBuilder on Fedora 36

In this tutorial we learn how to install perl-ExtUtils-XSBuilder in Fedora 36. perl-ExtUtils-XSBuilder is Modules that parse C header files and create XS glue code

Introduction

In this tutorial we learn how to install perl-ExtUtils-XSBuilder on Fedora 36.

What is perl-ExtUtils-XSBuilder

ExtUtils XS glue code and documentation out of it. Ideally this allows one to “write” an interface to a C library without coding a line. Since no C-API is ideal, some adjustments are necessary most of the time. So to use this module you must still be familiar with C and XS programming, but it removes a lot of stupid work and copy&paste from you. Also when the C API changes, most of the time you only have to rerun XSBuilder to get your new Perl API.

We can use yum or dnf to install perl-ExtUtils-XSBuilder on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-ExtUtils-XSBuilder.

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

sudo dnf -y install perl-ExtUtils-XSBuilder

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

sudo yum -y install perl-ExtUtils-XSBuilder

How To Uninstall perl-ExtUtils-XSBuilder on Fedora 36

To uninstall only the perl-ExtUtils-XSBuilder package we can use the following command:

sudo dnf remove perl-ExtUtils-XSBuilder

perl-ExtUtils-XSBuilder Package Contents on Fedora 36

/usr/share/doc/perl-ExtUtils-XSBuilder
/usr/share/doc/perl-ExtUtils-XSBuilder/Changes
/usr/share/doc/perl-ExtUtils-XSBuilder/README
/usr/share/man/man3/ExtUtils::XSBuilder.3pm.gz
/usr/share/man/man3/ExtUtils::XSBuilder::C::grammar.3pm.gz
/usr/share/man/man3/ExtUtils::XSBuilder::PODTemplate.3pm.gz
/usr/share/man/man3/ExtUtils::XSBuilder::ParseSource.3pm.gz
/usr/share/man/man3/ExtUtils::XSBuilder::WrapXS.3pm.gz
/usr/share/man/man3/ExtUtils::xsbuilder.osc2002.3pm.gz
/usr/share/perl5/vendor_perl/ExtUtils
/usr/share/perl5/vendor_perl/ExtUtils/XSBuilder
/usr/share/perl5/vendor_perl/ExtUtils/XSBuilder.pm
/usr/share/perl5/vendor_perl/ExtUtils/XSBuilder.pod
/usr/share/perl5/vendor_perl/ExtUtils/XSBuilder/C
/usr/share/perl5/vendor_perl/ExtUtils/XSBuilder/C/grammar.pm
/usr/share/perl5/vendor_perl/ExtUtils/XSBuilder/CallbackMap.pm
/usr/share/perl5/vendor_perl/ExtUtils/XSBuilder/FunctionMap.pm
/usr/share/perl5/vendor_perl/ExtUtils/XSBuilder/MapUtil.pm
/usr/share/perl5/vendor_perl/ExtUtils/XSBuilder/PODTemplate.pm
/usr/share/perl5/vendor_perl/ExtUtils/XSBuilder/ParseSource.pm
/usr/share/perl5/vendor_perl/ExtUtils/XSBuilder/StructureMap.pm
/usr/share/perl5/vendor_perl/ExtUtils/XSBuilder/TypeMap.pm
/usr/share/perl5/vendor_perl/ExtUtils/XSBuilder/WrapXS.pm
/usr/share/perl5/vendor_perl/ExtUtils/xsbuilder.osc2002.pod

References

Summary

In this tutorial we learn how to install perl-ExtUtils-XSBuilder on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).