How to import a Library on Arduino IDE

To import a library on Arduino IDE 1.7.x, follow these steps: 
- Download the library. 
- Open the IDE.
- Select Sketch>Import library>Add library. 
- Select the folder or the Zip file of library and click on Open. 
- Wait the confirmation message on console. 
Now that you have imported the library, you can use it in your sketches.

If instead you want use  the imported library examples then scroll the Examples list from File>Examples menu, as shown in the below image:
library imported

To include the library in a sketck do so:


for example if you include the GSM library:

#include <gsm.h>