Command explanations cd build_unix && ../dist/configure --prefix=/usr --enable-compat185: This replaces the normal ./configure command, as Berkeley DB comes with various build directories for different platforms. make docdir=/usr/share/doc/db-&db-version; install: This installs the documentation in the correct place.