installing whois on a linux box
# sudo apt-get install jwhois
# yum install jwhois
or
browse to: http://packages.qa.debian.org/j/jwhois.html
find the latest version and
# wget http://ftp.debian.org/debian/pool/main/j/jwhois/jwhois_4.0.orig.tar.gz
tar xf jwhois_4.0.orig.tar.gz
# cd jwhois_4.0/
# ./configure
# make install
get your environment variables / path with:
# env
:: PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
# cd /usr/local/bin
create a symbolic link so you can call whois url
# ln -s jwhois whois
then put the link in the path
# mv whois /usr/local/bin