Libphonenumber: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Overview == libphonenumber 라이브러리 정보 정리. category:c") |
No edit summary |
||
Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
libphonenumber 라이브러리 정보 정리. | libphonenumber 라이브러리 정보 정리. | ||
== Installation == | |||
=== Debian/Ubuntu === | |||
Ubuntu-15.04, Debian(확인 못함) 버전에서만 동작함. | |||
<pre> | |||
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 | |||
</pre> | |||
=== Source === | |||
<pre> | |||
$ git clone https://github.com/googlei18n/libphonenumber | |||
$ cd libphonenumber/cpp | |||
$ mkdir build | |||
$ cd build | |||
$ cmake ../ | |||
$ make | |||
$ sudo make install | |||
</pre> | |||
For test | |||
<pre> | |||
$ ./libphonenumber_test | |||
</pre> | |||
[[category:c]] | [[category:c]] |
Latest revision as of 12:50, 1 December 2015
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