How to install libraries
Arduino libraries are collections of code that are designed to provide additional, reusable functionality or to simplify using external electronic modules.
Libraries typically come with examples of how to use them. The library developer usually provides online documentation and explains how it possibly relates to what you are trying to achieve.
Installing a library
There are three different ways to install libraries; we'll show you each of them.
Arduino Library Manager
The simplest method of installing libraries is using the Library Manager built into the Arduino IDE.
You can access the Library Manager from the menu bar: Sketch - Include Library - Manage Libraries...
A new window will open: