Skip to content

Instantly share code, notes, and snippets.

@bitlewis
Created April 11, 2017 06:12
Show Gist options
  • Save bitlewis/472652623889e805abf3ffdb591550fd to your computer and use it in GitHub Desktop.
Save bitlewis/472652623889e805abf3ffdb591550fd to your computer and use it in GitHub Desktop.
wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz
tar -xzvf db-4.8.30.NC.tar.gz
cd db-4.8.30.NC/build_unix
../dist/configure --enable-cxx --prefix=/usr
make -j8
sudo checkinstall --fstrans=no --pkgversion=4.8.30 --pgkname=libdb-dev --nodoc -y
@jonnyczi
Copy link

jonnyczi commented Jun 1, 2018

This helped me a lot!

There is a small mistake though. "pgkname" should be "pkgname"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment