1.1、libphonenumber简介
是什么 ? | : | a C++ library for parsing, formatting, and validating international phone numbers. |
开发语言 | : | C++ |
源码仓库 | : | https://github.com/google/libphonenumber |
1.2、通过包管理器安装libphonenumber
操作系统 | 包管理器 | 安装命令 |
---|
All | vcpkg | vcpkg install libphonenumber
vcpkg install libphonenumber:x64-osx
vcpkg install libphonenumber:x64-linux
vcpkg install libphonenumber:x64-windows
|
macOS | HomeBrew | brew install libphonenumber |
GNU/Linux | HomeBrew | brew install libphonenumber |
| apt | sudo apt-get install -y libphonenumber |
CentOS | yum | sudo yum install -y libphonenumber |
| dnf | sudo dnf install -y libphonenumber |
openSUSE | zypper | sudo zypper install -y libphonenumber |
Alpine Linux | apk | sudo apk add libphonenumber |
Arch Linux ArcoLinux Manjaro Linux | pacman | sudo pacman -Syyu --noconfirm sudo pacman -S --noconfirm libphonenumber |
Gentoo Linux | Portage | sudo emerge libphonenumber |
1.3、通过编译源码安装libphonenumber
1.4、libphonenumber中包含的头文件
1.5、libphonenumber中包含的库文件
- libphonenumber.{a | so | dylib}