|
|
Subscribe / Log in / New account

Debian switching to EGLIBC

Debian switching to EGLIBC

Posted May 6, 2009 19:18 UTC (Wed) by jreiser (subscriber, #11027)
In reply to: Debian switching to EGLIBC by nix
Parent article: Debian switching to EGLIBC

/usr/lib/locale/locale-archive is 79MB, and subsetting is not supported actively. Many developers would be overjoyed to have only LANG=C, or to select just the 5 locales that cover 99.99% of the users for their product.


to post comments

Debian switching to EGLIBC

Posted May 6, 2009 20:15 UTC (Wed) by kleptog (subscriber, #1183) [Link] (2 responses)

That weird. I've never done anything special with locales and my locale-archive is only 1.3MB. I just selected the locales I wanted during install, they're listed in /etc/locale.gen and they're the only locales in the archive. How did you get your archive to be so large? (Debian BTW)

Debian switching to EGLIBC

Posted May 6, 2009 22:13 UTC (Wed) by vmole (guest, #111) [Link] (1 responses)

Are you using localepurge, by chance? It removes undesired locales after each apt run.

Debian switching to EGLIBC

Posted May 7, 2009 0:48 UTC (Thu) by ABCD (subscriber, #53650) [Link]

localepurge only touches /usr/share/locale and /usr/share/man; /usr/lib/locale/locale-archive is not modified at all by localepurge, so I'm not sure what would cause it to be so large.

Debian switching to EGLIBC

Posted May 6, 2009 20:29 UTC (Wed) by nix (subscriber, #2304) [Link]

Um, subsetting is trivial and documented. Just don't run localedef for
every single locale in the world, only for those you use.

(Debian has a /usr/sbin/locale-gen script and /etc/locale.gen file for
exactly this reason.)

Debian switching to EGLIBC

Posted May 12, 2009 4:59 UTC (Tue) by dirtyepic (guest, #30178) [Link]

1.5M here, consisting of en_US and en_US.UTF-8. subsetting has been a standard part of Gentoo as long as I've used it (2004-ish). we moved to locale-gen from Debian in 2006.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds