#### Beyond Linux® From Scratch (systemd Edition) - Version 11.1

### Chapter 9. General Libraries

- Prev

  gspell-1.8.4

- Next

  inih-53

- Up
- Home

# ICU-70.1

## Introduction to ICU

The International Components for Unicode (ICU) package is a mature, widely used set of C/C++ libraries providing Unicode and Globalization support for software applications. ICU is widely portable and gives applications the same results on all platforms.

This package is known to build and work properly using an LFS-11.1 platform.

### Package Information

- Download (HTTP): https://github.com/unicode-org/icu/releases/download/release-70-1/icu4c-70_1-src.tgz

- Download MD5 sum: 65287befec8116d79af23a58aa50c60d

- Download size: 24 MB

- Estimated disk space required: 367 MB (add 37 MB for tests)

- Estimated build time: 0.7 SBU (Using parallelism=4; add 0.8 SBU for tests)

### ICU Dependencies

#### Optional

LLVM-13.0.1 (with Clang), and Doxygen-1.9.3 (for documentation)

User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/icu

## Installation of ICU

### Note

If clang++ is available, it will be used in the mistaken belief that g++ might not support C++11, even though configure has tested for that. If using g++ there will be an unnecessary warning at the end of configure. Building with g++ also takes longer than the estimated SBU shown.

Install ICU by running the following commands:

    cd source                                    &&

    ./configure --prefix=/usr                    &&
    make

To test the results, issue: make check.

Now, as the `root` user:

    make install

## Contents

Installed Programs: derb, escapesrc, genbrk, genccode, gencfu, gencmn, gencnval, gendict, gennorm2, genrb, gensprep, icu-config, icuexportdata, icuinfo, icupkg, makeconv, pkgdata, and uconv
Installed Libraries: libicudata.so, libicui18n.so, libicuio.so, libicutest.so, libicutu.so, and libicuuc.so
Installed Directories: /usr/include/unicode, /usr/lib/icu, and /usr/share/icu

### Short Descriptions

derb | disassembles a resource bundle
escapesrc | converts “\u” escaped characters into unicode characters
genbrk | compiles ICU break iteration rules source files into binary data files
genccode | generates C or platform specific assembly code from an ICU data file
gencfu | reads in Unicode confusable character definitions and writes out the binary data
gencmn | generates an ICU memory-mappable data file
gencnval | compiles the converter's aliases file
gendict | compiles word lists into ICU string trie dictionaries
gennorm2 | builds binary data files with Unicode normalization data
genrb | compiles a resource bundle
gensprep | compiles StringPrep data from filtered RFC 3454 files
icu-config | outputs ICU build options
icuinfo | outputs configuration information about the current ICU
icupkg | extracts or modifies an ICU .dat archive
makeconv | compiles a converter table
pkgdata | packages data for use by ICU
uconv | converts data from one encoding to another
`libicudata.so` | is the data library
`libicui18n.so` | is the internationalization (i18n) library
`libicuio.so` | is the ICU I/O (unicode stdio) library
`libicutest.so` | is the test library
`libicutu.so` | is the tool utility library
`libicuuc.so` | is the common library

Last updated on

- Prev

  gspell-1.8.4

- Next

  inih-53

- Up
- Home