Last active
December 30, 2015 22:19
-
-
Save nari-ex/7893592 to your computer and use it in GitHub Desktop.
jwhois build
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
cd /usr/local/src/ | |
wget http://ftp.de.debian.org/debian/pool/main/j/jwhois/jwhois_4.0.orig.tar.gz | |
tar xzvf jwhois_4.0.orig.tar.gz | |
cd jwhois-4.0/ | |
wget http://www.fukatani.org/~hi-lo/blog/archives/upload_data/jwhois-4.0-fix-ipv6socket.patch | |
patch -p1 < jwhois-4.0-fix-ipv6socket.patch | |
mkdir /usr/local/jwhois | |
./configure --prefix=/usr/local/jwhois/ | |
make -j4 | |
make install | |
/usr/local/jwhois/bin/whois topotal.com | |
which whois | |
ll /usr/bin/whois | |
mv /usr/bin/whois{,.`date +%Y%m%d`} | |
ln -s /usr/local/jwhois/bin/jwhois /usr/bin/whois | |
whois topotal.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment