Skip to content

Instantly share code, notes, and snippets.

@indykish
Forked from albarrentine/libpostal_install.sh
Last active August 24, 2022 06:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save indykish/e91583878f4901f72735e27617b5e089 to your computer and use it in GitHub Desktop.
Save indykish/e91583878f4901f72735e27617b5e089 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)
# For Ubuntu only
apt-get install autotools-dev
git clone https://github.com/openvenues/libpostal
cd libpostal
./bootstrap.sh
./configure
make
sudo make install
# Linux: may want to run "sudo ldconfig"
@indykish
Copy link
Author

pip install postal

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