How To Install perl-String-Base on Fedora 36

In this tutorial we learn how to install perl-String-Base in Fedora 36. perl-String-Base is String index offsetting

Introduction

In this tutorial we learn how to install perl-String-Base on Fedora 36.

What is perl-String-Base

This module implements automatic offsetting of string indices. In normal Perl, the first character of a string has index 0, the second character has index 1, and so on. This module allows string indexes to start at some other value. Most commonly it is used to give the first character of a string the index 1 (and the second 2, and so on), to imitate the indexing behavior of FORTRAN and many other languages. It is usually considered poor style to do this.

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

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

sudo dnf -y install perl-String-Base

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

sudo yum -y install perl-String-Base

How To Uninstall perl-String-Base on Fedora 36

To uninstall only the perl-String-Base package we can use the following command:

sudo dnf remove perl-String-Base

perl-String-Base Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/d1f529e58fd1c16abb4234076f32049d05b73f
/usr/lib64/perl5/vendor_perl/String
/usr/lib64/perl5/vendor_perl/String/Base.pm
/usr/lib64/perl5/vendor_perl/auto/String
/usr/lib64/perl5/vendor_perl/auto/String/Base
/usr/lib64/perl5/vendor_perl/auto/String/Base/Base.so
/usr/share/doc/perl-String-Base
/usr/share/doc/perl-String-Base/Changes
/usr/share/doc/perl-String-Base/README
/usr/share/man/man3/String::Base.3pm.gz

References

Summary

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