It was a good thing that you mentioned Apache Pig :P
Well, follow these steps to install Pig:
To install pig, you first need the pig file. You can download the pig file from:
Next, extract the files using this command:
$ cd Downloads
$ tar -xvf pig-0.16.0.tar.gz
Now, we need to add Pig path to the bashrc file. Run the following commands for this:
$ cd ..
$ nano .bashrc
Now, add the following entries to the bashrc file:
Save (Ctrl+O) and exit (Ctrl+X)
Reload the changes using:
$ source .bashrc
Now, to verify the installation, run the following command:
$ pig -version
This will print the version of Pig installed.