Whenever a library is installed in the Arduino IDE, in which directory is it placed, because there are some, like in program(x86)/Arduino/libraries
or documents/Arduino/libraries or
users/name/AppData/local/Arduino/libraries, as well as in Onedrive/documents/Arduino/libraries and so on.
Often, when installing a github library from a zip file, I get the message that it's not a valid file because it's missing .h or .cpp, so the installation doesn't take place.
I don't know how all this works in the Arduino IDE. Can someone explain to me where the libraries are installed or how and where they can be installed manually?
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