How To Install perl-File-Comments on Fedora 36

In this tutorial we learn how to install perl-File-Comments in Fedora 36. perl-File-Comments is Recognizes file formats and extracts format-specific comments

Introduction

In this tutorial we learn how to install perl-File-Comments on Fedora 36.

What is perl-File-Comments

File used for comments, extracts all comments, and returns them as a reference to an array of chunks. Alternatively, it strips all comments from a file. Currently supported are Perl scripts, C/C++ programs, Java, makefiles, JavaScript, Python and PHP.

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

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

sudo dnf -y install perl-File-Comments

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

sudo yum -y install perl-File-Comments

How To Uninstall perl-File-Comments on Fedora 36

To uninstall only the perl-File-Comments package we can use the following command:

sudo dnf remove perl-File-Comments

perl-File-Comments Package Contents on Fedora 36

/usr/share/doc/perl-File-Comments
/usr/share/doc/perl-File-Comments/Changes
/usr/share/doc/perl-File-Comments/README
/usr/share/doc/perl-File-Comments/eg
/usr/share/doc/perl-File-Comments/eg/check-type
/usr/share/doc/perl-File-Comments/eg/extract-comments
/usr/share/doc/perl-File-Comments/eg/memtest.pl
/usr/share/doc/perl-File-Comments/eg/program.c
/usr/share/man/man3/File::Comments.3pm.gz
/usr/share/man/man3/File::Comments::Plugin.3pm.gz
/usr/share/man/man3/File::Comments::Plugin::C.3pm.gz
/usr/share/man/man3/File::Comments::Plugin::HTML.3pm.gz
/usr/share/man/man3/File::Comments::Plugin::Java.3pm.gz
/usr/share/man/man3/File::Comments::Plugin::JavaScript.3pm.gz
/usr/share/man/man3/File::Comments::Plugin::Makefile.3pm.gz
/usr/share/man/man3/File::Comments::Plugin::PHP.3pm.gz
/usr/share/man/man3/File::Comments::Plugin::Perl.3pm.gz
/usr/share/man/man3/File::Comments::Plugin::Python.3pm.gz
/usr/share/man/man3/File::Comments::Plugin::Shell.3pm.gz
/usr/share/perl5/vendor_perl/File
/usr/share/perl5/vendor_perl/File/Comments
/usr/share/perl5/vendor_perl/File/Comments.pm
/usr/share/perl5/vendor_perl/File/Comments/Plugin
/usr/share/perl5/vendor_perl/File/Comments/Plugin.pm
/usr/share/perl5/vendor_perl/File/Comments/Plugin/C.pm
/usr/share/perl5/vendor_perl/File/Comments/Plugin/HTML.pm
/usr/share/perl5/vendor_perl/File/Comments/Plugin/Java.pm
/usr/share/perl5/vendor_perl/File/Comments/Plugin/JavaScript.pm
/usr/share/perl5/vendor_perl/File/Comments/Plugin/Makefile.pm
/usr/share/perl5/vendor_perl/File/Comments/Plugin/PHP.pm
/usr/share/perl5/vendor_perl/File/Comments/Plugin/Perl.pm
/usr/share/perl5/vendor_perl/File/Comments/Plugin/Python.pm
/usr/share/perl5/vendor_perl/File/Comments/Plugin/Shell.pm

References

Summary

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