How To Install perlbrew on Fedora 36
Introduction
In this tutorial we learn how to install perlbrew on Fedora 36.
What is perlbrew
perlbrew is a program to automate the building and installation of perl in the users HOME. At the moment, it installs everything to ~/perl5/perlbrew, and requires you to tweak your PATH by including a bashrc/cshrc file it provides. You then can benefit from not having to run ‘sudo’ commands to install cpan modules because those are installed inside your HOME too. It’s almost like an isolated perl environments.
We can use yum or dnf to install perlbrew on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perlbrew.
Install perlbrew 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 perlbrew using dnf by running the following command:
sudo dnf -y install perlbrew
Install perlbrew 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 perlbrew using yum by running the following command:
sudo yum -y install perlbrew
How To Uninstall perlbrew on Fedora 36
To uninstall only the perlbrew package we can use the following command:
sudo dnf remove perlbrew
perlbrew Package Contents on Fedora 36
/usr/bin/perlbrew
/usr/share/doc/perlbrew
/usr/share/doc/perlbrew/Changes
/usr/share/doc/perlbrew/README
/usr/share/licenses/perlbrew
/usr/share/licenses/perlbrew/LICENSE
/usr/share/man/man1/perlbrew.1.gz
/usr/share/man/man3/App::Perlbrew::HTTP.3pm.gz
/usr/share/man/man3/App::Perlbrew::Path.3pm.gz
/usr/share/man/man3/App::Perlbrew::Path::Installation.3pm.gz
/usr/share/man/man3/App::Perlbrew::Path::Installations.3pm.gz
/usr/share/man/man3/App::Perlbrew::Path::Root.3pm.gz
/usr/share/man/man3/App::Perlbrew::Util.3pm.gz
/usr/share/man/man3/App::perlbrew.3pm.gz
/usr/share/perl5/vendor_perl/App
/usr/share/perl5/vendor_perl/App/Perlbrew
/usr/share/perl5/vendor_perl/App/Perlbrew/HTTP.pm
/usr/share/perl5/vendor_perl/App/Perlbrew/Path
/usr/share/perl5/vendor_perl/App/Perlbrew/Path.pm
/usr/share/perl5/vendor_perl/App/Perlbrew/Path/Installation.pm
/usr/share/perl5/vendor_perl/App/Perlbrew/Path/Installations.pm
/usr/share/perl5/vendor_perl/App/Perlbrew/Path/Root.pm
/usr/share/perl5/vendor_perl/App/Perlbrew/Util.pm
/usr/share/perl5/vendor_perl/App/perlbrew.pm
References
Summary
In this tutorial we learn how to install perlbrew on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).