On the WebHCat server machine, install the necessary RPMs or packages.
For RHEL/CentOS/Oracle Linux:
yum install hive-hcatalog hive-webhcat pigFor SLES:
zypper install hive-hcatalog hive-webhcat pigFor Ubuntu:
apt-get install hive-hcatalog hive-webhcat pig

