How To Install perl-Gtk2-SourceView2 on Fedora 36

In this tutorial we learn how to install perl-Gtk2-SourceView2 in Fedora 36. perl-Gtk2-SourceView2 is Perl bindings for the GtkSourceView 2.x widget

Introduction

In this tutorial we learn how to install perl-Gtk2-SourceView2 on Fedora 36.

What is perl-Gtk2-SourceView2

Perl bindings for the C library “libgtksourceview2” that extends the standard GTK+ framework for multiline text editing with support for configurable syntax highlighting, unlimited undo/redo, UTF-8 compliant caseless searching, printing and other features typical of a source code editor. NOTICE means that the module will no longer be updated with security patches, bug fixes, or when changes are made in the Perl ABI.

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

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

sudo dnf -y install perl-Gtk2-SourceView2

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

sudo yum -y install perl-Gtk2-SourceView2

How To Uninstall perl-Gtk2-SourceView2 on Fedora 36

To uninstall only the perl-Gtk2-SourceView2 package we can use the following command:

sudo dnf remove perl-Gtk2-SourceView2

perl-Gtk2-SourceView2 Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/6699d738889b77bb92fa136c0bc8c8061d5ca1
/usr/lib64/perl5/vendor_perl/Gtk2
/usr/lib64/perl5/vendor_perl/Gtk2/SourceView2
/usr/lib64/perl5/vendor_perl/Gtk2/SourceView2.pm
/usr/lib64/perl5/vendor_perl/Gtk2/SourceView2/Buffer.pod
/usr/lib64/perl5/vendor_perl/Gtk2/SourceView2/Iter.pod
/usr/lib64/perl5/vendor_perl/Gtk2/SourceView2/Language.pod
/usr/lib64/perl5/vendor_perl/Gtk2/SourceView2/LanguageManager.pod
/usr/lib64/perl5/vendor_perl/Gtk2/SourceView2/Mark.pod
/usr/lib64/perl5/vendor_perl/Gtk2/SourceView2/PrintCompositor.pod
/usr/lib64/perl5/vendor_perl/Gtk2/SourceView2/Style.pod
/usr/lib64/perl5/vendor_perl/Gtk2/SourceView2/StyleScheme.pod
/usr/lib64/perl5/vendor_perl/Gtk2/SourceView2/StyleSchemeManager.pod
/usr/lib64/perl5/vendor_perl/Gtk2/SourceView2/View.pod
/usr/lib64/perl5/vendor_perl/Gtk2/SourceView2/index.pod
/usr/lib64/perl5/vendor_perl/auto
/usr/lib64/perl5/vendor_perl/auto/Gtk2
/usr/lib64/perl5/vendor_perl/auto/Gtk2/SourceView2
/usr/lib64/perl5/vendor_perl/auto/Gtk2/SourceView2/SourceView2.so
/usr/share/doc/perl-Gtk2-SourceView2
/usr/share/doc/perl-Gtk2-SourceView2/Changes
/usr/share/doc/perl-Gtk2-SourceView2/README
/usr/share/doc/perl-Gtk2-SourceView2/examples
/usr/share/doc/perl-Gtk2-SourceView2/examples/perl-editor.pl
/usr/share/licenses/perl-Gtk2-SourceView2
/usr/share/licenses/perl-Gtk2-SourceView2/COPYING
/usr/share/man/man3/Gtk2::SourceView2::Buffer.3pm.gz
/usr/share/man/man3/Gtk2::SourceView2::Iter.3pm.gz
/usr/share/man/man3/Gtk2::SourceView2::Language.3pm.gz
/usr/share/man/man3/Gtk2::SourceView2::LanguageManager.3pm.gz
/usr/share/man/man3/Gtk2::SourceView2::Mark.3pm.gz
/usr/share/man/man3/Gtk2::SourceView2::PrintCompositor.3pm.gz
/usr/share/man/man3/Gtk2::SourceView2::Style.3pm.gz
/usr/share/man/man3/Gtk2::SourceView2::StyleScheme.3pm.gz
/usr/share/man/man3/Gtk2::SourceView2::StyleSchemeManager.3pm.gz
/usr/share/man/man3/Gtk2::SourceView2::View.3pm.gz
/usr/share/man/man3/Gtk2::SourceView2::index.3pm.gz

References

Summary

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