---
name: "icurepackage"
section: "8"
platform: "linux"
package: "icu"
version: "2.0-2.1pre20020303-1"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/icurepackage"
---

# icurepackage(8)

repackage a common data file from multiple sources

## NAME

**icurepackage** - repackage a common data file from multiple sources

## SYNOPSIS

**icurepackage** \[ **-h, -?, --help** \] \[ **-v, --verbose** \] \[ **-s, --sourcedir** *source* \] \[ **-d, --destdir** *destination* \] \[ **--all** \] \[ **--extras** \| **-e, --extradir** *extras* \] \[ **-S, --statedir** *statedir* \] \[ **-T, --tempdir** *tempdir* \]

## DESCRIPTION

**icurepackage** combines data from multiple sources to produce a single common data file. The sources for data are the common data file if it already exists, a set of individual files that were distributed with ICU, and a set of extra files supplied by the user.

The repackaging works as follows. The existing common file is first unpacked using [**decmn**(8)](/decmn/8.md). Files are then added back to a new common file, starting with extra files, then files unpacked from the existing common data file, and ending with individual files that were distributed with ICU. (Note that it is not necessary for the individual ICU files to exist for  **icurepackage** to work properly.)

Some special files are ignored when the new common file is built. For instance, the common data file itself is ignored, and, unless the **--all** option is used, the converter aliases file **cnvalias.dat** is also ignored.

## OPTIONS

- **-h, -?, --help**

  Print help about usage and exit.

- **-v, --verbose**

  Display extra informative messages during execution. **-s, --sourcedir** *source* Set the source directory to *source*. The default source directory is  **/usr/lib/icu/2.0/files**.

- **-d, --destdir** *destination*

  Set the destination directory to *destination*. The default destination directory is specified by the environment variable **ICU\_DATA**.

- **--all**

  Include all data files except the common file itself, but not ignoring the special data files mentionned in the **SYNOPSYS** section.

- **--extras**

  Include extra files that are found in the *destination* directory.

- **-e, --extradir** *extras*

  Include extra files that are found in the *extras* directory.

## ENVIRONMENT

- **ICU\_DATA**

  Specifies the directory containing ICU data. Defaults to **/usr/lib/icu/2.0/**. Some tools in ICU depend on the presence of the trailing slash. It is thus important to make sure that it is present if **ICU\_DATA** is set.

- TMPDIR

  The default value for the temporary directory specified by the **-T,, --tempdir** option.

## VERSION

2\.0

## COPYRIGHT

Copyright (C) 2000-2002 IBM, Inc. and others.

## SEE ALSO

[**decmn**(8)](/decmn/8.md), [**gencmn**(8)](/gencmn/8.md)
