How to Install and Uninstall perl-local-lib Package on openSUSE Leap

Last updated: November 23,2024

1. Install "perl-local-lib" package

In this section, we are going to explain the necessary steps to install perl-local-lib on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install perl-local-lib

2. Uninstall "perl-local-lib" package

Please follow the guidelines below to uninstall perl-local-lib on openSUSE Leap:

$ sudo zypper remove perl-local-lib

3. Information about the perl-local-lib package on openSUSE Leap

Information for package perl-local-lib:
---------------------------------------
Repository : Main Repository
Name : perl-local-lib
Version : 2.000024-bp155.1.5
Arch : noarch
Vendor : openSUSE
Installed Size : 157.5 KiB
Installed : No
Status : not installed
Source package : perl-local-lib-2.000024-bp155.1.5.src
Upstream URL : https://metacpan.org/release/local-lib
Summary : Create and use a local lib/ for perl modules with PERL5LIB
Description :
This module provides a quick, convenient way of bootstrapping a user-local
Perl module library located within the user's home directory. It also
constructs and prints out for the user the list of environment variables
using the syntax appropriate for the user's current shell (as specified by
the 'SHELL' environment variable), suitable for directly adding to one's
shell configuration file.
More generally, local::lib allows for the bootstrapping and usage of a
directory containing Perl modules outside of Perl's '@INC'. This makes it
easier to ship an application with an app-specific copy of a Perl module,
or collection of modules. Useful in cases like when an upstream maintainer
hasn't applied a patch to a module of theirs that you need for your
application.
On import, local::lib sets the following environment variables to
appropriate values:
* PERL_MB_OPT
* PERL_MM_OPT
* PERL5LIB
* PATH
* PERL_LOCAL_LIB_ROOT
When possible, these will be appended to instead of overwritten entirely.
These values are then available for reference by any code after import.