Install berkeley db from source code

Follow the below steps to install BerkeleyDB.

Downloading Berkeley DB


Extracting files from the downloaded package:

tar zxvf db-5.2.28.tar.gz

cd db-5.2.28/build_unix

Create installation path

mkdir /etc/berkeleydb

Configuring Berkeley DB

../dist/configure --prefix=/etc/berkeleydb

Compile and install the code


make install

Leave a Reply

Your email address will not be published. Required fields are marked *