How To Install perl-Syntax-Highlight-Perl6 on Fedora 36

In this tutorial we learn how to install perl-Syntax-Highlight-Perl6 in Fedora 36. perl-Syntax-Highlight-Perl6 is Perl 6 Syntax Highlighter

Introduction

In this tutorial we learn how to install perl-Syntax-Highlight-Perl6 on Fedora 36.

What is perl-Syntax-Highlight-Perl6

Syntax STD.pm. It matches parse tree nodes to colors then returns them in different output formats. It can be used to create web pages with colorful source code samples in its simple and snippet HTML modes, or it can be used as a learning tool in examining STD.pm’s output using the JavaScript node viewer in its full HTML mode. Or you can use its parse tree Perl 5 records to build your next great idea.

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

Install perl-Syntax-Highlight-Perl6 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-Syntax-Highlight-Perl6 using dnf by running the following command:

sudo dnf -y install perl-Syntax-Highlight-Perl6

Install perl-Syntax-Highlight-Perl6 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-Syntax-Highlight-Perl6 using yum by running the following command:

sudo yum -y install perl-Syntax-Highlight-Perl6

How To Uninstall perl-Syntax-Highlight-Perl6 on Fedora 36

To uninstall only the perl-Syntax-Highlight-Perl6 package we can use the following command:

sudo dnf remove perl-Syntax-Highlight-Perl6

perl-Syntax-Highlight-Perl6 Package Contents on Fedora 36

/usr/bin/hilitep6
/usr/share/doc/perl-Syntax-Highlight-Perl6
/usr/share/doc/perl-Syntax-Highlight-Perl6/Changes
/usr/share/doc/perl-Syntax-Highlight-Perl6/README
/usr/share/licenses/perl-Syntax-Highlight-Perl6
/usr/share/licenses/perl-Syntax-Highlight-Perl6/LICENSE
/usr/share/man/man1/hilitep6.1.gz
/usr/share/man/man3/Syntax::Highlight::Perl6.3pm.gz
/usr/share/perl5/Syntax
/usr/share/perl5/Syntax/Highlight
/usr/share/perl5/Syntax/Highlight/Perl6.pm
/usr/share/perl5/auto
/usr/share/perl5/auto/share
/usr/share/perl5/auto/share/dist
/usr/share/perl5/auto/share/dist/Syntax-Highlight-Perl6
/usr/share/perl5/auto/share/dist/Syntax-Highlight-Perl6/jquery-1.4.3.min.js
/usr/share/perl5/auto/share/dist/Syntax-Highlight-Perl6/p6_style.ansi
/usr/share/perl5/auto/share/dist/Syntax-Highlight-Perl6/p6_style.css
/usr/share/perl5/auto/share/dist/Syntax-Highlight-Perl6/p6_style.js

References

Summary

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