1st of all we need Archive_Tar package to download and install. Download package from here, and run this command in terminal to install it.
Yes, i know this type of things are written many times. But my approach to it is for the IMAP protocol later. This is the 1st step to start from.