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

Last updated: May 20,2024

1. Install "libfile-chdir-perl" package

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

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

2. Uninstall "libfile-chdir-perl" package

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

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

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

Package: libfile-chdir-perl
Architecture: all
Version: 0.1008-1
Priority: optional
Section: perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: James Bromberger
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 59
Depends: perl
Filename: pool/main/libf/libfile-chdir-perl/libfile-chdir-perl_0.1008-1_all.deb
Size: 11722
MD5sum: 6e298f68b07f771120c3793d66c788c5
SHA1: 71de6b5d256717cfb55db7b851bdf33e94fed5b8
SHA256: 01b28f8f29bfe3bba3336f5d015d858f76c3b2fbc1f4a5bf81065cb0323def75
SHA512: 1cd8d960a6fc56a462733a9f5305967e990d7bd2640f76be83123eaa35cf08ff28a9d86902158f8bd787c6566a09ea2f2807a7ccd44ba814e3f6e7c6e9ea3371
Description-en: more sensible way to change directories
Perl's chdir() has the unfortunate problem of being very, very, very
global. If any part of your program calls chdir() or if any library you
use calls chdir(), it changes the current working directory for the
whole program.
.
This sucks.
.
File::chdir gives you an alternative, $CWD and @CWD. These two variables
combine all the power of chdir(), File::Spec and Cwd.
Description-md5: 29bd9687e45b745a44f092e47510afff