I was wondering if I could get a quick rundown on working with libraries in C.

I know most systems include standard C libraries, such as stdio, stdbool or stdlib.

But what about working with libraries that aren't included in the system?

For example, I want to use a third-party library that parses CSV files in C. I know there is the libcsv library, but I'm not sure how I can install it and start using it. For context, I work primarily on macOS and Linux.

Additionally, how do I include these libraries when compilling my code? Do I need to include a flag in clang or gcc, or does doing
Code:
#include <library.h>
do the trick?