How To Install perl-ExtUtils-XSBuilder on CentOS 7
Introduction
In this tutorial we learn how to install perl-ExtUtils-XSBuilder
on CentOS 7.
What is perl-ExtUtils-XSBuilder
ExtUtils and create 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 adjuments 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 CentOS 7. 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 CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install perl-ExtUtils-XSBuilder
using yum
by running the following command:
Install perl-ExtUtils-XSBuilder on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install perl-ExtUtils-XSBuilder
using dnf
by running the following command:
How To Uninstall perl-ExtUtils-XSBuilder on CentOS 7
To uninstall only the perl-ExtUtils-XSBuilder
package we can use the following command:
References
Summary
In this tutorial we learn how to install perl-ExtUtils-XSBuilder
on CentOS 7 using yum
and dnf
.