Skip to content

Instantly share code, notes, and snippets.

@albarrentine
Last active August 24, 2022 06:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save albarrentine/b0b0e27c61856d045bea to your computer and use it in GitHub Desktop.
Save albarrentine/b0b0e27c61856d045bea to your computer and use it in GitHub Desktop.
libpostal installation
# Pre-requisites: steps provided for Mac and Debian/Ubuntu
# 1. Install autotools if you don't have it already
# Mac: brew install autoconf automake libtool
# Ubuntu: apt-get install autotools-dev
# 2. Install snappy
# Mac: brew install snappy
# Ubuntu: apt-get install libsnappy-dev)
git clone https://github.com/openvenues/libpostal
cd libpostal
./bootstrap.sh
./configure --datadir=[...some dir that has > 10 GB of space...]
make
sudo make install
# Linux: may want to run "sudo ldconfig"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment