How to Install and Uninstall python36-port-for Package on openSuSE Tumbleweed
Last updated: November 24,2024
Deprecated! Installation of this package may no longer be supported.
1. Install "python36-port-for" package
Please follow the step by step instructions below to install python36-port-for on openSuSE Tumbleweed
$
sudo zypper refresh
Copied
$
sudo zypper install
python36-port-for
Copied
2. Uninstall "python36-port-for" package
Here is a brief guide to show you how to uninstall python36-port-for on openSuSE Tumbleweed:
$
sudo zypper remove
python36-port-for
Copied
3. Information about the python36-port-for package on openSuSE Tumbleweed
Information for package python36-port-for:
------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python36-port-for
Version : 0.4-1.14
Arch : noarch
Vendor : openSUSE
Installed Size : 129,8 KiB
Installed : No
Status : not installed
Source package : python-port-for-0.4-1.14.src
Summary : Utility that helps with local TCP ports managment
Description :
port-for is a command-line utility and a python library that
helps with local TCP ports management.
It can find an unused TCP localhost port and remember the association::
$ sudo port-for foo
37987
This can be useful when you are installing a stack of software
with multiple parts needing port numbers.
There are several rules port-for is trying to follow to find and
return a new unused port:
1) Port must be unused: port-for checks this by trying to connect
to the port and to bind to it.
2) Port must be IANA unassigned and otherwise not well-known:
this is acheived by maintaining unassigned ports list
(parsed from IANA and Wikipedia).
3) Port shouldn't be inside ephemeral port range.
This is important because ports from ephemeral port range can
be assigned temporary by OS (e.g. by machine's IP stack) and
this may prevent service restart in some circumstances.
``port-for`` doesn't return ports from ephemeral port ranges
configured at the current machine.
4) Other heuristics are also applied: ``port-for`` tries to return
a port from larger port ranges; it also doesn't return ports that are
too close to well-known ports.
------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python36-port-for
Version : 0.4-1.14
Arch : noarch
Vendor : openSUSE
Installed Size : 129,8 KiB
Installed : No
Status : not installed
Source package : python-port-for-0.4-1.14.src
Summary : Utility that helps with local TCP ports managment
Description :
port-for is a command-line utility and a python library that
helps with local TCP ports management.
It can find an unused TCP localhost port and remember the association::
$ sudo port-for foo
37987
This can be useful when you are installing a stack of software
with multiple parts needing port numbers.
There are several rules port-for is trying to follow to find and
return a new unused port:
1) Port must be unused: port-for checks this by trying to connect
to the port and to bind to it.
2) Port must be IANA unassigned and otherwise not well-known:
this is acheived by maintaining unassigned ports list
(parsed from IANA and Wikipedia).
3) Port shouldn't be inside ephemeral port range.
This is important because ports from ephemeral port range can
be assigned temporary by OS (e.g. by machine's IP stack) and
this may prevent service restart in some circumstances.
``port-for`` doesn't return ports from ephemeral port ranges
configured at the current machine.
4) Other heuristics are also applied: ``port-for`` tries to return
a port from larger port ranges; it also doesn't return ports that are
too close to well-known ports.