OS Manuals

/usr/bin/localedef

Tool for defining GLIBC locales

From localedef-2.44 2.44-r15 (os), captured 2026-11-10 by running localedef --help (exit 0). permalink

Also provided by 1 other package version
Usage: localedef [OPTION...] NAME
  or:  localedef [OPTION...] [--add-to-archive|--delete-from-archive] FILE...
  or:  localedef [OPTION...] --list-archive [FILE]
Compile locale specification

 Input Files:
  -f, --charmap=FILE         Symbolic character names defined in FILE
  -i, --inputfile=FILE       Source definitions are found in FILE
  -u, --repertoire-map=FILE  FILE contains mapping from symbolic names to UCS4
                             values

 Output control:
  -c, --force                Create output even if warning messages were issued

      --no-hard-links        Do not create hard links between installed
                             locales
      --no-warnings=<warnings>   Comma-separated list of warnings to disable;
                             supported warnings are: ascii, intcurrsym
      --posix                Strictly conform to POSIX
      --prefix=PATH          Optional output file prefix
      --quiet                Suppress warnings and information messages
  -v, --verbose              Print more messages
      --warnings=<warnings>  Comma-separated list of warnings to enable;
                             supported warnings are: ascii, intcurrsym

 Archive control:
      --add-to-archive       Add locales named by parameters to archive
  -A, --alias-file=FILE      locale.alias file to consult when making archive
      --big-endian           Generate big-endian output
      --delete-from-archive  Remove locales named by parameters from archive
      --list-archive         List content of archive
      --little-endian        Generate little-endian output
      --no-archive           Don't add new data to archive
      --replace              Replace existing archive content

  -?, --help                 Give this help list
      --usage                Give a short usage message
  -V, --version              Print program version

Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.

System's directory for character maps : /usr/share/i18n/charmaps
		       repertoire maps: /usr/share/i18n/repertoiremaps
		       locale path    : /usr/lib/locale:/usr/share/i18n
For bug reporting instructions, please see:
<https://www.gnu.org/software/libc/bugs.html>.
Options (22)
OptionDescriptionSource
-f, --charmap FILESymbolic character names defined in FILEhelp
-i, --inputfile FILESource definitions are found in FILEhelp
-u, --repertoire-map FILEFILE contains mapping from symbolic names to UCS4 valueshelp
-c, --forceCreate output even if warning messages were issuedhelp
--no-hard-linksDo not create hard links between installed localeshelp
--no-warnings warningsComma-separated list of warnings to disable;help
--posixStrictly conform to POSIXhelp
--prefix PATHOptional output file prefixhelp
--quietSuppress warnings and information messageshelp
-v, --verbosePrint more messageshelp
--warnings warningsComma-separated list of warnings to enable;help
--add-to-archiveAdd locales named by parameters to archivehelp
-A, --alias-file FILElocale.alias file to consult when making archivehelp
--big-endianGenerate big-endian outputhelp
--delete-from-archiveRemove locales named by parameters from archivehelp
--list-archiveList content of archivehelp
--little-endianGenerate little-endian outputhelp
--no-archiveDon't add new data to archivehelp
--replaceReplace existing archive contenthelp
-?, --helpGive this help listhelp
--usageGive a short usage messagehelp
-V, --versionPrint program versionhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.