How To Install tcputils on Fedora 36

In this tutorial we learn how to install tcputils in Fedora 36. tcputils is Utilities for TCP programming in shell-scripts

Introduction

In this tutorial we learn how to install tcputils on Fedora 36.

What is tcputils

This is a collection of programs to facilitate TCP programming in shell-scripts. There is also a small library which makes it somewhat easier to create TCP/IP sockets.

We can use yum or dnf to install tcputils on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install tcputils.

Install tcputils on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install tcputils using dnf by running the following command:

sudo dnf -y install tcputils

Install tcputils on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install tcputils using yum by running the following command:

sudo yum -y install tcputils

How To Uninstall tcputils on Fedora 36

To uninstall only the tcputils package we can use the following command:

sudo dnf remove tcputils

tcputils Package Contents on Fedora 36

/usr/bin/getpeername
/usr/bin/mini-inetd
/usr/bin/tcpbug
/usr/bin/tcpconnect
/usr/bin/tcplisten
/usr/lib/.build-id
/usr/lib/.build-id/70
/usr/lib/.build-id/70/42f742470df450cddd5be9448e4180a537d997
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/a21cc315ea6449d38e8912f38b8aa62536ee0a
/usr/lib/.build-id/82
/usr/lib/.build-id/82/075a808a6952d9fb3a429d046fa80152410d0e
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/9cb1447f6aba4be21ca3d42b8cb73c10796503
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/ed3b2a0f403f977d8c773d2ec951a9cef79d44
/usr/share/doc/tcputils
/usr/share/doc/tcputils/README
/usr/share/man/man1/getpeername.1.gz
/usr/share/man/man1/mini-inetd.1.gz
/usr/share/man/man1/tcpbug.1.gz
/usr/share/man/man1/tcpconnect.1.gz
/usr/share/man/man1/tcplisten.1.gz

References

Summary

In this tutorial we learn how to install tcputils on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).