Created
October 28, 2016 07:37
-
-
Save doegox/3ac08fbc0786b1fe8b9520b4ffa08816 to your computer and use it in GitHub Desktop.
Recompiling socat with readline support
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For socat v1 | |
sudo apt-get build-dep socat/testing | |
sudo apt-get install libreadline-dev | |
apt-get source -t testing socat | |
cd socat-1.7.3.1 | |
sed -i 's/ -- --disable-readline//' debian/rules | |
dpkg-buildpackage -uc -us | |
cd .. | |
sudo dpkg -i socat_1.7.3.1-1_amd64.deb | |
# For socat v2 (from experimental) | |
sudo apt-get build-dep socat/experimental | |
sudo apt-get install libreadline-dev | |
apt-get source -t experimental socat | |
cd socat-2.0.0~beta9 | |
sed -i 's/ -- --disable-readline//' debian/rules | |
dpkg-buildpackage -uc -us | |
cd .. | |
sudo dpkg -i socat_2.0.0~beta9-1_amd64.deb | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment