Asking anyone to write a complete tutorial in this type of a forum is unreasonable. You can use Google to find the information that you need.
I searched Google using the following search phrase:
linux pear tutorial
That yielded many links. The following link appears to provide good information.
Please try to ask reasonable requests. Perform your own research first. Do as much as you can on your own. When you run into specific problems then return to ask about those specific problems. When you post a question please provide the steps that you have already taken along with the results of those test, in detail.