Libraries location on Arduino

In general, the IDE expects to find libraries in folders within the libraries folder in the Sketchbook folder. This is the default library location. There are, however, exceptions to this in the case of libraries installed as part of a board package and the built in libraries that come with the IDE

When you install a library using the Library Manager it will be installed in the default location and you can do the same thing manually by creating a folder for the library in the default location and copying the library files to it