Install Using Library Manager:

  1. Go to Sketch>include library>Manage Libraries
  2. Search for the Libraries if it exists there

Not all the libraries are in the library manager. It depends on the library coder if he follows some certain rules to include his library in the library managers.

Install Using Adding the library zip folder:

  1. navigate to Sketch > Include Library.
  2. At the top of the drop-down list, select the option to “Add .ZIP Library”.

You will be prompted to select the library you would like to add. Navigate to the .zip file’s location and open it.

Install Manually:

In Windows:

  1. Copy the library folder(extract from the zip of it is needed) into your (Arduino installation directory)\libraries (e.g. C:\Program Files (x86)\Arduino\libraries) folder.

In Mac:

  1. In Finder click on the ‘Go’ Menu
  2. While the Go menu is opened click option in the keyboard
  3. Library Folder will appear.
  4. Click on the Library Folder
  5. There is folder called Arduino
  6. In Arduino>staging>libraries we can copy paste the zip folder.