How to Install and Uninstall libfile-policy-perl Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 21,2024

1. Install "libfile-policy-perl" package

Please follow the steps below to install libfile-policy-perl on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install libfile-policy-perl

2. Uninstall "libfile-policy-perl" package

Please follow the guidelines below to uninstall libfile-policy-perl on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove libfile-policy-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libfile-policy-perl package on Ubuntu 20.10 (Groovy Gorilla)

Package: libfile-policy-perl
Architecture: all
Version: 1.005-2
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 38
Depends: perl, libtest-assertions-perl, liblog-trace-perl, libfile-slurp-perl
Filename: pool/universe/libf/libfile-policy-perl/libfile-policy-perl_1.005-2_all.deb
Size: 13694
MD5sum: 1b09773a2483c8dfdb7b2ff8cd2552a3
SHA1: 7f1546782d83206d5c80494f0c2cb39f1a02d7d8
SHA256: da7246edf5514ed11d22ba803438e5b0b11e638407ed5bc7d91f888b26795d2d
SHA512: 93cd57fed3b0ae58d7576e1edea4a7d6ba18da8779bf56913ea67d83ba74e96eac21e99e771fc593176ce6ca6d47c44507de65e32bf7e942269558975c32dc70
Homepage: https://metacpan.org/release/File-Policy
Description-en: simple policy for file I/O functions
File::Policy defines the policy for file I/O with modules such as
File::Slurp::WithinPolicy. The purpose is to allow systems administrators to
define locations and restrictions for applications' file I/O and give app
developers a policy to follow. Note that the module doesn't ENFORCE the policy
- application developers can choose to ignore it (and systems administrators
can choose not to install their applications if they do!).
.
You may control which policy gets applied by creating a File::Policy::Config
module with an IMPLEMENTATION constant. You may write your own policy as a
module within the File::Policy:: namespace.
.
By default (if no File::Policy::Config is present), the File::Policy::Default
policy gets applied which doesn't impose any restrictions and provides
reasonable default locations for temporary and log files.
.
The motivation behind this module was a standard, flexible approach to allow
a site wide file policy to be defined. This will be most useful in large
environments where a few sysadmins are responsible for code written by many
other people. Simply ensuring that submitted code calls check_safe() ensures
file access is sane, reducing the amount of effort required to do a security
audit.
Description-md5: 120a2276e5f4a2d2523383dee408dd33