How to Install and Uninstall perl-Test-RequiresInternet Package on openSUSE Leap

Last updated: November 26,2024

1. Install "perl-Test-RequiresInternet" package

This guide covers the steps necessary to install perl-Test-RequiresInternet on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install perl-Test-RequiresInternet

2. Uninstall "perl-Test-RequiresInternet" package

Learn how to uninstall perl-Test-RequiresInternet on openSUSE Leap:

$ sudo zypper remove perl-Test-RequiresInternet

3. Information about the perl-Test-RequiresInternet package on openSUSE Leap

Information for package perl-Test-RequiresInternet:
---------------------------------------------------
Repository : Main Repository
Name : perl-Test-RequiresInternet
Version : 0.05-1.24
Arch : noarch
Vendor : SUSE LLC
Installed Size : 25.0 KiB
Installed : No
Status : not installed
Source package : perl-Test-RequiresInternet-0.05-1.24.src
Upstream URL : http://search.cpan.org/dist/Test-RequiresInternet/
Summary : Easily test network connectivity
Description :
This module is intended to easily test network connectivity before
functional tests begin to non-local Internet resources. It does not require
any modules beyond those supplied in core Perl.
If you do not specify a host/port pair, then the module defaults to using
'www.google.com' on port '80'.
You may optionally specify the port by its name, as in 'http' or 'ldap'. If
you do this, the test module will attempt to look up the port number using
'getservbyname'.
If you do specify a host and port, they must be specified in *pairs*. It is
a fatal error to omit one or the other.
If the environment variable 'NO_NETWORK_TESTING' is set, then the tests
will be skipped without attempting any socket connections.
If the sockets cannot connect to the specified hosts and ports, the
exception is caught, reported and the tests skipped.