How to Install and Uninstall libdevel-autoflush-perl Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 04,2024

1. Install "libdevel-autoflush-perl" package

Please follow the instructions below to install libdevel-autoflush-perl on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libdevel-autoflush-perl

2. Uninstall "libdevel-autoflush-perl" package

Please follow the instructions below to uninstall libdevel-autoflush-perl on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libdevel-autoflush-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libdevel-autoflush-perl package on Ubuntu 21.10 (Impish Indri)

Package: libdevel-autoflush-perl
Architecture: all
Version: 0.06-1.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: 23
Depends: perl:any
Filename: pool/universe/libd/libdevel-autoflush-perl/libdevel-autoflush-perl_0.06-1.1_all.deb
Size: 7608
MD5sum: 056e6edd92adae23662b8378fe2758f9
SHA1: 57cb5fa75931cf1342bd4420d10c8a2a7a1a1008
SHA256: 959477d8009c418db68482169a6f2de4af234b64b125e9c7971afbec1027bb3e
SHA512: 707696b210ad2e6663c66980ffa2569d9fd9898c10f07cbafd40226fb48f24b2187456c5f2faa7b79439ff063bf00c2b3f7073fe9d59eee44bf948241a77152e
Homepage: http://metacpan.org/release/Devel-Autoflush
Description-en: module for setting autoflush from the command line
Devel::Autoflush is a hack to set autoflush for STDOUT and STDERR from the
command line or from "PERL5OPT" for code that needs it but doesn't have it.
.
This often happens when prompting:
.
# guess.pl
print "Guess a number: ";
$n = ;
.
As long as the output is going to a terminal, the prompt is flushed when STDIN
is read. However, if the output is being piped, the print statement will
not automatically be flushed, no prompt will be seen and the program will
silently appear to hang while waiting for input.
Description-md5: d9c3dfb8d5c544732a92d85c0cb5c391