The Berkeley DB package contains version 3.3.11 of the Berkeley Database.
Download (HTTP): http://www.sleepycat.com/update/snapshot/db-3.3.11.tar.gz
Download (FTP): ftp://ftp.pu.edu.tw/Unix/Database/BerkeleyDB/db-3.3.11.tar.gz
Download size: 2.3 MB
Estimated Disk space required: 20.3 MB
Estimated build time: 0.80 SBU
Install Berkeley DB by running the following commands:
cd build_unix && ../dist/configure --prefix=/opt/db-3.3 --enable-compat185 && make && make docdir=/opt/db-3.3/doc/Berkeley-DB install && cd /opt/db-3.3/lib/ && rm -f libdb.so && for i in $(ls); do mv $i /usr/lib; ln -sf /usr/lib/$i; done && cd /opt/db-3.3/include/ && sed 's/^DB185/DB/' db_185.h > db_185.h.new && mv db_185.h.new db_185.h && ln -nsf /opt/db-3.3/include /usr/include/db3 |
sed 's/^DB185/DB/' /usr/include/db_185.h > /usr/include/db_185.h.new: Change the DB185 database pointer to DB.
The Berkeley DB package contains db_archive, db_checkpoint, db_deadlock, db_dump, db_load, db_printlog, db_recover, db_stat, db_upgrade and db_verify.
db_archive prints the pathnames of log files that are no longer in use.
db_checkpoint is a daemon process used to monitor and checkpoint database logs.
db_deadlock is used to abort lock requests when deadlocks are detected.
db_dump converts database files to a flat file format readable by db_load.
db_load is used to create database files from flat files created with db_dump.
db_printlog converts database log files to human readable text.
db_recover is used to restore a database to a consistent state after a failure.
db_stat displays database environment statistics.
db_upgrade is used to upgrade database files to a newer version of Berkeley DB.
db_verify is used to run consistency checks on database files.