From the course: Exploring C Libraries

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Installing a library

Installing a library - C Tutorial

From the course: Exploring C Libraries

Start my 1-month free trial

Installing a library

- [Instructor] Finding a C library that does wondrous things is only the first step. The second, more difficult step is to properly install that library on your computer system. Sometimes this process works smoothly, but often it's an ordeal akin to Sisyphus rolling the boulder up the hill. As part of your library hunt check the documentation to see how it installs. Are directions available? Do they apply to your computer setup? For example, does the library come in an archive which you must unpack and then run a configuration utility? Also check the FAQ, if one is available to review installation issues and common problems. Now I've struggled with manual installation of many libraries over my programming career. It's frustrating and lonely, so here's the secret. The best way to install a C library is to use the package manager for your operating system. The package manager utility locates, installs, and configures new…

Contents