How to Install and Uninstall libfile-policy-perl Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 20,2024

1. Install "libfile-policy-perl" package

Please follow the step by step instructions below to install libfile-policy-perl on Ubuntu 21.04 (Hirsute Hippo)

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

2. Uninstall "libfile-policy-perl" package

Please follow the instructions below to uninstall libfile-policy-perl on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the libfile-policy-perl package on Ubuntu 21.04 (Hirsute Hippo)

Package: libfile-policy-perl
Architecture: all
Version: 1.005-2.1
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:any, libtest-assertions-perl, liblog-trace-perl, libfile-slurp-perl
Filename: pool/universe/libf/libfile-policy-perl/libfile-policy-perl_1.005-2.1_all.deb
Size: 13972
MD5sum: 31ad58f518a262cc89c6432387d87f98
SHA1: 1dca5b9ff2347c5070c5950af0b192a3dc7fb513
SHA256: 3010a0fb42ff94be3ab3fd5bb4e54ce462dc7b0b9315f71e5d99501b11a635ac
SHA512: ba9117355eb287d8494e961d7d872c04b131619dfbb8b9121d31da19a94cc384572f2d091838c1d44adb8acf294635662505ee1a7687d9ad393c4b118f4357de
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