How to Install and Uninstall perl-Net-Telnet Package on openSuSE Tumbleweed
Last updated: November 23,2024
1. Install "perl-Net-Telnet" package
Please follow the steps below to install perl-Net-Telnet on openSuSE Tumbleweed
$
sudo zypper refresh
Copied
$
sudo zypper install
perl-Net-Telnet
Copied
2. Uninstall "perl-Net-Telnet" package
Learn how to uninstall perl-Net-Telnet on openSuSE Tumbleweed:
$
sudo zypper remove
perl-Net-Telnet
Copied
3. Information about the perl-Net-Telnet package on openSuSE Tumbleweed
Information for package perl-Net-Telnet:
----------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : perl-Net-Telnet
Version : 3.05-1.13
Arch : noarch
Vendor : openSUSE
Installed Size : 198.6 KiB
Installed : No
Status : not installed
Source package : perl-Net-Telnet-3.05-1.13.src
Upstream URL : https://metacpan.org/release/Net-Telnet
Summary : Interact with TELNET port or other TCP ports
Description :
Net::Telnet allows you to make client connections to a TCP port and do
network I/O, especially to a port using the TELNET protocol. Simple I/O
methods such as print, get, and getline are provided. More sophisticated
interactive features are provided because connecting to a TELNET port
ultimately means communicating with a program designed for human
interaction. These interactive features include the ability to specify a
time-out and to wait for patterns to appear in the input stream, such as
the prompt from a shell. IPv6 support is available when using perl 5.14 or
later, see 'family()'.
Other reasons to use this module than strictly with a TELNET port are:
* You're not familiar with sockets and you want a simple way to make client
connections to TCP services.
* You want to be able to specify your own time-out while connecting, reading,
or writing.
* You're communicating with an interactive program at the other end of some
socket or pipe and you want to wait for certain patterns to appear.
Here's an example that prints who's logged-on to a remote host. In addition
to a username and password, you must also know the user's shell prompt,
which for this example is '"bash$ "'
use Net::Telnet ();
$t = new Net::Telnet (Timeout => 10,
Prompt => '/bash\$ $/');
$t->open($host);
$t->login($username, $passwd);
@lines = $t->cmd("who");
print @lines;
See the *EXAMPLES* section below for more examples.
Usage questions should be directed to the perlmonks.org discussion group.
Bugs can be viewed or reported at cpan.org on the Net::Telnet page.
----------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : perl-Net-Telnet
Version : 3.05-1.13
Arch : noarch
Vendor : openSUSE
Installed Size : 198.6 KiB
Installed : No
Status : not installed
Source package : perl-Net-Telnet-3.05-1.13.src
Upstream URL : https://metacpan.org/release/Net-Telnet
Summary : Interact with TELNET port or other TCP ports
Description :
Net::Telnet allows you to make client connections to a TCP port and do
network I/O, especially to a port using the TELNET protocol. Simple I/O
methods such as print, get, and getline are provided. More sophisticated
interactive features are provided because connecting to a TELNET port
ultimately means communicating with a program designed for human
interaction. These interactive features include the ability to specify a
time-out and to wait for patterns to appear in the input stream, such as
the prompt from a shell. IPv6 support is available when using perl 5.14 or
later, see 'family()'.
Other reasons to use this module than strictly with a TELNET port are:
* You're not familiar with sockets and you want a simple way to make client
connections to TCP services.
* You want to be able to specify your own time-out while connecting, reading,
or writing.
* You're communicating with an interactive program at the other end of some
socket or pipe and you want to wait for certain patterns to appear.
Here's an example that prints who's logged-on to a remote host. In addition
to a username and password, you must also know the user's shell prompt,
which for this example is '"bash$ "'
use Net::Telnet ();
$t = new Net::Telnet (Timeout => 10,
Prompt => '/bash\$ $/');
$t->open($host);
$t->login($username, $passwd);
@lines = $t->cmd("who");
print @lines;
See the *EXAMPLES* section below for more examples.
Usage questions should be directed to the perlmonks.org discussion group.
Bugs can be viewed or reported at cpan.org on the Net::Telnet page.