进入 icu4c/source 文件夹
./configure --prefix=/xx/xxx/icu
make && make install
export PATH=/xx/xxx/icu/include:$PATH
export LD_LIBRARY_PATH=/xx/xxx/icu/lib:$LD_LIBRARY_PATH
# 或者
export PKG_CONFIG_PATH=/xx/xxx/icu/lib/pkgconfig:$PKG_CONFIG_PATH
进入 icu4c/source 文件夹
./configure --prefix=/xx/xxx/icu
make && make install
export PATH=/xx/xxx/icu/include:$PATH
export LD_LIBRARY_PATH=/xx/xxx/icu/lib:$LD_LIBRARY_PATH
# 或者
export PKG_CONFIG_PATH=/xx/xxx/icu/lib/pkgconfig:$PKG_CONFIG_PATH