How to Install and Uninstall libtest-needsdisplay-perl Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 08,2024

1. Install "libtest-needsdisplay-perl" package

This guide covers the steps necessary to install libtest-needsdisplay-perl on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libtest-needsdisplay-perl

2. Uninstall "libtest-needsdisplay-perl" package

This tutorial shows how to uninstall libtest-needsdisplay-perl on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libtest-needsdisplay-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libtest-needsdisplay-perl package on Ubuntu 21.10 (Impish Indri)

Package: libtest-needsdisplay-perl
Architecture: all
Version: 1.07-3
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 20
Depends: perl
Recommends: xauth, xvfb
Filename: pool/universe/libt/libtest-needsdisplay-perl/libtest-needsdisplay-perl_1.07-3_all.deb
Size: 7302
MD5sum: 4a0b83622a58657e2326c0faa6d697d1
SHA1: b91b5453657403f0842c951ecba057c6c062a51d
SHA256: 15951bea24bfc1a0605486c78a0d1f00b0894c71cf29250d90a850eae057995a
SHA512: 810db0e083150e5a3b3314e32ac7831cf282ef82fbc21637fcb40a5116e0ca507c01bb6d37bacf383d327559c54ccef58c16ace769afafa07fbf70529ec79f69
Homepage: https://metacpan.org/release/Test-NeedsDisplay
Description-en: module to ensure that tests needing a display have one
When testing GUI applications, sometimes applications or modules absolutely
insist on a display, even just to load a module without actually showing any
objects.
.
Regardless, this makes GUI applications pretty much impossible to build and
test on headless or automated systems. And it fails to the point of not even
running the Makefile.PL script because a dependency needs a display so it can
be loaded to find a version.
.
In these situations, what is needed is a fake display.
.
The Test::NeedsDisplay module will search around and try to find a way to load
some sort of display that can be used for the testing.
Description-md5: cc0437f8d4f6634af23a2ba906a66ae9