Inetutils is a collection of common network programs, e.g., telnet, etc See documentation
- The Core Planners: [email protected]
Binary package
Binary packages can be set as runtime or build time dependencies. See Defining your dependencies for more information.
To add core/inetutils as a dependency, you can add one of the following to your plan file.
pkg_build_deps=(core/inetutils)
pkg_deps=(core/inetutils)
To install this plan, you should run the following commands to first install, and then link the binaries this plan creates.
hab pkg install core/inetutils --binlink
will add the following binaries to the PATH:
- /bin/dnsdomainname
- /bin/ftp
- /bin/hostname
- /bin/ifconfig
- /bin/ping
- /bin/ping6
- /bin/talk
- /bin/telnet
- /bin/tftp
- /bin/traceroute
For example:
$ hab pkg install core/inetutils --binlink
» Installing core/inetutils
☁ Determining latest version of core/inetutils in the 'stable' channel
→ Found newer installed version (core/inetutils/1.9.4/20200603164509) than remote version (core/inetutils/1.9.4/20200305234748)
→ Using core/inetutils/1.9.4/20200603164509
★ Install of core/inetutils/1.9.4/20200603164509 complete with 0 new packages installed.
» Binlinking ping from core/inetutils/1.9.4/20200603164509 into /bin
★ Binlinked ping from core/inetutils/1.9.4/20200603164509 to /bin/ping
» Binlinking dnsdomainname from core/inetutils/1.9.4/20200603164509 into /bin
★ Binlinked dnsdomainname from core/inetutils/1.9.4/20200603164509 to /bin/dnsdomainname
» Binlinking ifconfig from core/inetutils/1.9.4/20200603164509 into /bin
★ Binlinked ifconfig from core/inetutils/1.9.4/20200603164509 to /bin/ifconfig
» Binlinking telnet from core/inetutils/1.9.4/20200603164509 into /bin
★ Binlinked telnet from core/inetutils/1.9.4/20200603164509 to /bin/telnet
» Binlinking ftp from core/inetutils/1.9.4/20200603164509 into /bin
★ Binlinked ftp from core/inetutils/1.9.4/20200603164509 to /bin/ftp
» Binlinking talk from core/inetutils/1.9.4/20200603164509 into /bin
★ Binlinked talk from core/inetutils/1.9.4/20200603164509 to /bin/talk
» Binlinking traceroute from core/inetutils/1.9.4/20200603164509 into /bin
★ Binlinked traceroute from core/inetutils/1.9.4/20200603164509 to /bin/traceroute
» Binlinking hostname from core/inetutils/1.9.4/20200603164509 into /bin
★ Binlinked hostname from core/inetutils/1.9.4/20200603164509 to /bin/hostname
» Binlinking ping6 from core/inetutils/1.9.4/20200603164509 into /bin
★ Binlinked ping6 from core/inetutils/1.9.4/20200603164509 to /bin/ping6
» Binlinking tftp from core/inetutils/1.9.4/20200603164509 into /bin
★ Binlinked tftp from core/inetutils/1.9.4/20200603164509 to /bin/tftp
You can now use the binary as normal. For example:
/bin/ping --help
or ping --help
$ ping --help
Usage: ping [OPTION...] HOST ...
Send ICMP ECHO_REQUEST packets to network hosts.
Options controlling ICMP request types:
--address send ICMP_ADDRESS packets (root only)
--echo send ICMP_ECHO packets (default)
--mask same as --address
--timestamp send ICMP_TIMESTAMP packets
-t, --type=TYPE send TYPE packets
Options valid for all request types:
...
...