WeBWorK Problems

Installing a new library

Installing a new library

by Justin Freeman -
Number of replies: 2

I downloaded the Rochester physics library (of old CAPA problems). I imagine I will be asking about CAPA macros in a bit, but right now I am just trying to get my library browser to acknowledge that the problems are there.

I put the directory in /opt/webwork/libraries, which is where the other libraries I have installed are located. And then I tried to edit global.conf under
$courseFiles{problibs} = {

but nothing I put there seems to make the new library show up.

Is there something else I need to do?

In reply to Justin Freeman

Re: Installing a new library

by Boyd Duffee -
AFAIK, $courseFiles{problibs} is just for giving nice labels to directories.

The line you should look at is
$problemLibrary{root} = "/opt/webwork/libraries/NationalProblemLibrary";

Let me know how you get on with the CAPA libraries. I had issues getting the images to display and ended up symlinking the directory into each course and adding this line
$physics_problib = "/opt/webwork/libraries/rochester_physics_problib";

There's likely a better way, but I didn't have the time to find it.
In reply to Boyd Duffee

Re: Installing a new library

by Arnold Pizer -

You will find general instructions for installing libraries (including the CAPA library) at

Specific instructions for the CAPA library are at:


Note that for CAPA you also need install the macros and graphics and the above instructions include instructions on this.