Vagrant machine to build libphonenumber
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Vagrant libphonenumber Build Machine

This is a Vagrant machine (precise64 box) I use to build the libphonenumber C++ library.

libphonenumber is owned by Google and The Libphonenumber Authors licensed under Apache License, Version 2.0.


  1. Make sure VirtualBox is installed
  2. Install Vagrant.
  3. Clone this repository or download it as zip.
  4. Add an entry in the host file for vagrant-libphonenumber.localhost with IP (optional). One can always use vagrant ssh to enter the virtual machine.
  5. In the terminal, go to the folder where you cloned or unzipped the files and type vagrant up and let puppet do its magic checking out the source, and installing the packages / dependencies for building libphonenumber.

Note that puppet downloads JRE from Oracle, and I have not tested this build using java alternatives.


By default, build process is done using user "vagrant" and can be changed in the puppet module if necessary. Unchanged, the source and scripts will be located in /home/vagrant. If root is specified, the source and scripts will be located in /usr/src.

Two scripts are included:

  1. will build the library
  2. will install the library to /usr/local