How To Install perl-devel on CentOS 8
Introduction
In this tutorial we learn how to install perl-devel
on CentOS 8.
What is perl-devel
This package contains header files and development modules. Most perl packages will need to install perl-devel to build. perl-devel 4 5.26.3 419.el8 x86_64 599 k perl-5.26.3-419.el8.src.rpm appstream Header #files for use in perl development http (GPL+ or Artistic) and UCD This package contains header files and development modules. Most perl packages will need to install perl-devel to build.
We can use yum
or dnf
to install perl-devel
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-devel.
Install perl-devel on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install perl-devel
using dnf
by running the following command:
sudo dnf -y install perl-devel
Install perl-devel on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install perl-devel
using yum
by running the following command:
sudo yum -y install perl-devel
How To Uninstall perl-devel on CentOS 8
To uninstall only the perl-devel
package we can use the following command:
sudo dnf remove perl-devel
perl-devel Package Contents on CentOS 8
/usr/bin/h2xs
/usr/bin/perlivp
/usr/lib/libperl.so
/usr/lib/perl5/CORE/EXTERN.h
/usr/lib/perl5/CORE/INTERN.h
/usr/lib/perl5/CORE/XSUB.h
/usr/lib/perl5/CORE/av.h
/usr/lib/perl5/CORE/bitcount.h
/usr/lib/perl5/CORE/charclass_invlists.h
/usr/lib/perl5/CORE/config.h
/usr/lib/perl5/CORE/cop.h
/usr/lib/perl5/CORE/cv.h
/usr/lib/perl5/CORE/dosish.h
/usr/lib/perl5/CORE/dquote_inline.h
/usr/lib/perl5/CORE/ebcdic_tables.h
/usr/lib/perl5/CORE/embed.h
/usr/lib/perl5/CORE/embedvar.h
/usr/lib/perl5/CORE/fakesdio.h
/usr/lib/perl5/CORE/feature.h
/usr/lib/perl5/CORE/form.h
/usr/lib/perl5/CORE/git_version.h
/usr/lib/perl5/CORE/gv.h
/usr/lib/perl5/CORE/handy.h
/usr/lib/perl5/CORE/hv.h
/usr/lib/perl5/CORE/hv_func.h
/usr/lib/perl5/CORE/inline.h
/usr/lib/perl5/CORE/intrpvar.h
/usr/lib/perl5/CORE/invlist_inline.h
/usr/lib/perl5/CORE/iperlsys.h
/usr/lib/perl5/CORE/keywords.h
/usr/lib/perl5/CORE/l1_char_class_tab.h
/usr/lib/perl5/CORE/malloc_ctl.h
/usr/lib/perl5/CORE/metaconfig.h
/usr/lib/perl5/CORE/mg.h
/usr/lib/perl5/CORE/mg_data.h
/usr/lib/perl5/CORE/mg_raw.h
/usr/lib/perl5/CORE/mg_vtable.h
/usr/lib/perl5/CORE/mydtrace.h
/usr/lib/perl5/CORE/nostdio.h
/usr/lib/perl5/CORE/op.h
/usr/lib/perl5/CORE/op_reg_common.h
/usr/lib/perl5/CORE/opcode.h
/usr/lib/perl5/CORE/opnames.h
/usr/lib/perl5/CORE/overload.h
/usr/lib/perl5/CORE/pad.h
/usr/lib/perl5/CORE/parser.h
/usr/lib/perl5/CORE/patchlevel.h
/usr/lib/perl5/CORE/perl.h
/usr/lib/perl5/CORE/perlapi.h
/usr/lib/perl5/CORE/perldtrace.h
/usr/lib/perl5/CORE/perlio.h
/usr/lib/perl5/CORE/perliol.h
/usr/lib/perl5/CORE/perlsdio.h
/usr/lib/perl5/CORE/perlvars.h
/usr/lib/perl5/CORE/perly.h
/usr/lib/perl5/CORE/pp.h
/usr/lib/perl5/CORE/pp_proto.h
/usr/lib/perl5/CORE/proto.h
/usr/lib/perl5/CORE/reentr.h
/usr/lib/perl5/CORE/regcharclass.h
/usr/lib/perl5/CORE/regcomp.h
/usr/lib/perl5/CORE/regexp.h
/usr/lib/perl5/CORE/regnodes.h
/usr/lib/perl5/CORE/scope.h
/usr/lib/perl5/CORE/sv.h
/usr/lib/perl5/CORE/thread.h
/usr/lib/perl5/CORE/time64.h
/usr/lib/perl5/CORE/time64_config.h
/usr/lib/perl5/CORE/uconfig.h
/usr/lib/perl5/CORE/unicode_constants.h
/usr/lib/perl5/CORE/unixish.h
/usr/lib/perl5/CORE/utf8.h
/usr/lib/perl5/CORE/utfebcdic.h
/usr/lib/perl5/CORE/util.h
/usr/lib/perl5/CORE/uudmap.h
/usr/lib/perl5/CORE/vutil.h
/usr/lib/perl5/CORE/warnings.h
/usr/share/doc/perl-devel
/usr/share/doc/perl-devel/perl-example.stp
/usr/share/man/man1/h2xs.1.gz
/usr/share/man/man1/perlivp.1.gz
/usr/share/man/man1/perlxs.1.gz
/usr/share/man/man1/perlxstut.1.gz
/usr/share/man/man1/perlxstypemap.1.gz
/usr/share/systemtap
/usr/share/systemtap/tapset
/usr/share/systemtap/tapset/libperl5.26.3-32.stp
/usr/bin/h2xs
/usr/bin/perlivp
/usr/lib64/libperl.so
/usr/lib64/perl5/CORE/EXTERN.h
/usr/lib64/perl5/CORE/INTERN.h
/usr/lib64/perl5/CORE/XSUB.h
/usr/lib64/perl5/CORE/av.h
/usr/lib64/perl5/CORE/bitcount.h
/usr/lib64/perl5/CORE/charclass_invlists.h
/usr/lib64/perl5/CORE/config.h
/usr/lib64/perl5/CORE/cop.h
/usr/lib64/perl5/CORE/cv.h
/usr/lib64/perl5/CORE/dosish.h
/usr/lib64/perl5/CORE/dquote_inline.h
/usr/lib64/perl5/CORE/ebcdic_tables.h
/usr/lib64/perl5/CORE/embed.h
/usr/lib64/perl5/CORE/embedvar.h
/usr/lib64/perl5/CORE/fakesdio.h
/usr/lib64/perl5/CORE/feature.h
/usr/lib64/perl5/CORE/form.h
/usr/lib64/perl5/CORE/git_version.h
/usr/lib64/perl5/CORE/gv.h
/usr/lib64/perl5/CORE/handy.h
/usr/lib64/perl5/CORE/hv.h
/usr/lib64/perl5/CORE/hv_func.h
/usr/lib64/perl5/CORE/inline.h
/usr/lib64/perl5/CORE/intrpvar.h
/usr/lib64/perl5/CORE/invlist_inline.h
/usr/lib64/perl5/CORE/iperlsys.h
/usr/lib64/perl5/CORE/keywords.h
/usr/lib64/perl5/CORE/l1_char_class_tab.h
/usr/lib64/perl5/CORE/malloc_ctl.h
/usr/lib64/perl5/CORE/metaconfig.h
/usr/lib64/perl5/CORE/mg.h
/usr/lib64/perl5/CORE/mg_data.h
/usr/lib64/perl5/CORE/mg_raw.h
/usr/lib64/perl5/CORE/mg_vtable.h
/usr/lib64/perl5/CORE/mydtrace.h
/usr/lib64/perl5/CORE/nostdio.h
/usr/lib64/perl5/CORE/op.h
/usr/lib64/perl5/CORE/op_reg_common.h
/usr/lib64/perl5/CORE/opcode.h
/usr/lib64/perl5/CORE/opnames.h
/usr/lib64/perl5/CORE/overload.h
/usr/lib64/perl5/CORE/pad.h
/usr/lib64/perl5/CORE/parser.h
/usr/lib64/perl5/CORE/patchlevel.h
/usr/lib64/perl5/CORE/perl.h
/usr/lib64/perl5/CORE/perlapi.h
/usr/lib64/perl5/CORE/perldtrace.h
/usr/lib64/perl5/CORE/perlio.h
/usr/lib64/perl5/CORE/perliol.h
/usr/lib64/perl5/CORE/perlsdio.h
/usr/lib64/perl5/CORE/perlvars.h
/usr/lib64/perl5/CORE/perly.h
/usr/lib64/perl5/CORE/pp.h
/usr/lib64/perl5/CORE/pp_proto.h
/usr/lib64/perl5/CORE/proto.h
/usr/lib64/perl5/CORE/reentr.h
/usr/lib64/perl5/CORE/regcharclass.h
/usr/lib64/perl5/CORE/regcomp.h
/usr/lib64/perl5/CORE/regexp.h
/usr/lib64/perl5/CORE/regnodes.h
/usr/lib64/perl5/CORE/scope.h
/usr/lib64/perl5/CORE/sv.h
/usr/lib64/perl5/CORE/thread.h
/usr/lib64/perl5/CORE/time64.h
/usr/lib64/perl5/CORE/time64_config.h
/usr/lib64/perl5/CORE/uconfig.h
/usr/lib64/perl5/CORE/unicode_constants.h
/usr/lib64/perl5/CORE/unixish.h
/usr/lib64/perl5/CORE/utf8.h
/usr/lib64/perl5/CORE/utfebcdic.h
/usr/lib64/perl5/CORE/util.h
/usr/lib64/perl5/CORE/uudmap.h
/usr/lib64/perl5/CORE/vutil.h
/usr/lib64/perl5/CORE/warnings.h
/usr/share/doc/perl-devel
/usr/share/doc/perl-devel/perl-example.stp
/usr/share/man/man1/h2xs.1.gz
/usr/share/man/man1/perlivp.1.gz
/usr/share/man/man1/perlxs.1.gz
/usr/share/man/man1/perlxstut.1.gz
/usr/share/man/man1/perlxstypemap.1.gz
/usr/share/systemtap
/usr/share/systemtap/tapset
/usr/share/systemtap/tapset/libperl5.26.3-64.stp
References
- [perl-devel website](http://www.perl.org/ http://www.perl.org/)
Summary
In this tutorial we learn how to install perl-devel
on CentOS 8 using yum and dnf.