How To Install socat on Fedora 36
Introduction
In this tutorial we learn how to install socat on Fedora 36.
What is socat
Socat is a relay for bidirectional data transfer between two independent data channels. Each of these data channels may be a file, pipe, device (serial line etc. or a pseudo terminal), a socket (UNIX, IP4, IP6 - raw, UDP, TCP), an SSL socket, proxy CONNECT connection, a file descriptor (stdin etc.), the GNU line editor (readline), a program, or a combination of two of these.
We can use yum or dnf to install socat on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install socat.
Install socat 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 socat using dnf by running the following command:
sudo dnf -y install socat
Install socat 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 socat using yum by running the following command:
sudo yum -y install socat
How To Uninstall socat on Fedora 36
To uninstall only the socat package we can use the following command:
sudo dnf remove socat
socat Package Contents on Fedora 36
/usr/bin/filan
/usr/bin/procan
/usr/bin/socat
/usr/lib/.build-id
/usr/lib/.build-id/81
/usr/lib/.build-id/81/41ed680cba662e0b3547649ac4d70140171863
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/35ed1734af61e43b22a3a8bd64b893c19930b5
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/92d792e2b1d2d93a6afee64483c5cb1befeaa7
/usr/share/doc/socat
/usr/share/doc/socat/BUGREPORTS
/usr/share/doc/socat/CHANGES
/usr/share/doc/socat/COPYING
/usr/share/doc/socat/COPYING.OpenSSL
/usr/share/doc/socat/DEVELOPMENT
/usr/share/doc/socat/EXAMPLES
/usr/share/doc/socat/FAQ
/usr/share/doc/socat/PORTING
/usr/share/doc/socat/README
/usr/share/doc/socat/SECURITY
/usr/share/doc/socat/daemon.sh
/usr/share/doc/socat/ftp.sh
/usr/share/doc/socat/gatherinfo.sh
/usr/share/doc/socat/mail.sh
/usr/share/doc/socat/proxy.sh
/usr/share/doc/socat/proxyecho.sh
/usr/share/doc/socat/readline-test.sh
/usr/share/doc/socat/readline.sh
/usr/share/doc/socat/socat_buildscript_for_android.sh
/usr/share/doc/socat/socks4a-echo.sh
/usr/share/doc/socat/socks4echo.sh
/usr/share/doc/socat/test.sh
/usr/share/man/man1/filan.1.gz
/usr/share/man/man1/procan.1.gz
/usr/share/man/man1/socat.1.gz
References
Summary
In this tutorial we learn how to install socat on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).