This is a bit perplexing. Libraries don't need to be installed, you simply put them in a directory, add a path to it in the command to the compiler, and list the library on the command to the compiler.
Just as you would for C and C++.
Other languages may need libraries to be installed, but not D.
Just as you would for C and C++.
Other languages may need libraries to be installed, but not D.