Libphonenumber

From 탱이의 잡동사니
Revision as of 12:50, 1 December 2015 by Pchero (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

libphonenumber 라이브러리 정보 정리.

Installation

Debian/Ubuntu

Ubuntu-15.04, Debian(확인 못함) 버전에서만 동작함.

Installing the binary packages:
  - Use this if you just need to use or link against the library:
    $ sudo apt-get install libphonenumber6 libphonenumber6-dev

Installing the source package:
  - Use this if you wish to develop or debug the library:
    $ sudo apt-get source libphonenumber

The latest packages can be found on the Debian packages site:
  https://packages.debian.org/search?searchon=names&keywords=libphonenumber

Source

$ git clone https://github.com/googlei18n/libphonenumber
$ cd libphonenumber/cpp
$ mkdir build
$ cd build
$ cmake ../
$ make
$ sudo make install

For test

$ ./libphonenumber_test