How To Install socat.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install socat.x86_64 on Amazon Linux 2.
What is socat.x86_64
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 to install socat.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install socat.x86_64.
Install socat.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install socat.x86_64 using yum by running the following command:
sudo yum -y install socat.x86_64
How To Uninstall socat.x86_64 on Amazon Linux 2
To uninstall only the socat.x86_64 package we can use the following command:
sudo yum remove socat.x86_64
socat.x86_64 Package Contents on Amazon Linux 2
/usr/bin/filan
/usr/bin/procan
/usr/bin/socat
/usr/share/doc/socat-1.7.3.2
/usr/share/doc/socat-1.7.3.2/BUGREPORTS
/usr/share/doc/socat-1.7.3.2/CHANGES
/usr/share/doc/socat-1.7.3.2/COPYING
/usr/share/doc/socat-1.7.3.2/COPYING.OpenSSL
/usr/share/doc/socat-1.7.3.2/DEVELOPMENT
/usr/share/doc/socat-1.7.3.2/EXAMPLES
/usr/share/doc/socat-1.7.3.2/FAQ
/usr/share/doc/socat-1.7.3.2/PORTING
/usr/share/doc/socat-1.7.3.2/README
/usr/share/doc/socat-1.7.3.2/SECURITY
/usr/share/doc/socat-1.7.3.2/daemon.sh
/usr/share/doc/socat-1.7.3.2/ftp.sh
/usr/share/doc/socat-1.7.3.2/gatherinfo.sh
/usr/share/doc/socat-1.7.3.2/mail.sh
/usr/share/doc/socat-1.7.3.2/proxy.sh
/usr/share/doc/socat-1.7.3.2/proxyecho.sh
/usr/share/doc/socat-1.7.3.2/readline-test.sh
/usr/share/doc/socat-1.7.3.2/readline.sh
/usr/share/doc/socat-1.7.3.2/socat_buildscript_for_android.sh
/usr/share/doc/socat-1.7.3.2/socks4a-echo.sh
/usr/share/doc/socat-1.7.3.2/socks4echo.sh
/usr/share/doc/socat-1.7.3.2/test.sh
/usr/share/man/man1/socat.1.gz
References
Summary
In this tutorial we learn how to install socat.x86_64 on Amazon Linux 2 using yum.