Why ICU lib is so big?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I'm trying to reduce the size of an embedded system. So I'm studying what I could remove.



One of the biggest file is :
libicudata.so.52.1 which length is 23 Mo. This is a big part of my system.



  • I'm using java and apache : are they using libicu ?

  • Why this file is so big ?

  • Is there any alternative library ?






share|improve this question




















  • Do you really need Java in an embedded system?
    – Rui F Ribeiro
    Feb 9 at 17:26










  • I don't choose everything...
    – Vouze
    Feb 9 at 17:45














up vote
1
down vote

favorite












I'm trying to reduce the size of an embedded system. So I'm studying what I could remove.



One of the biggest file is :
libicudata.so.52.1 which length is 23 Mo. This is a big part of my system.



  • I'm using java and apache : are they using libicu ?

  • Why this file is so big ?

  • Is there any alternative library ?






share|improve this question




















  • Do you really need Java in an embedded system?
    – Rui F Ribeiro
    Feb 9 at 17:26










  • I don't choose everything...
    – Vouze
    Feb 9 at 17:45












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I'm trying to reduce the size of an embedded system. So I'm studying what I could remove.



One of the biggest file is :
libicudata.so.52.1 which length is 23 Mo. This is a big part of my system.



  • I'm using java and apache : are they using libicu ?

  • Why this file is so big ?

  • Is there any alternative library ?






share|improve this question












I'm trying to reduce the size of an embedded system. So I'm studying what I could remove.



One of the biggest file is :
libicudata.so.52.1 which length is 23 Mo. This is a big part of my system.



  • I'm using java and apache : are they using libicu ?

  • Why this file is so big ?

  • Is there any alternative library ?








share|improve this question











share|improve this question




share|improve this question










asked Feb 9 at 15:35









Vouze

62027




62027











  • Do you really need Java in an embedded system?
    – Rui F Ribeiro
    Feb 9 at 17:26










  • I don't choose everything...
    – Vouze
    Feb 9 at 17:45
















  • Do you really need Java in an embedded system?
    – Rui F Ribeiro
    Feb 9 at 17:26










  • I don't choose everything...
    – Vouze
    Feb 9 at 17:45















Do you really need Java in an embedded system?
– Rui F Ribeiro
Feb 9 at 17:26




Do you really need Java in an embedded system?
– Rui F Ribeiro
Feb 9 at 17:26












I don't choose everything...
– Vouze
Feb 9 at 17:45




I don't choose everything...
– Vouze
Feb 9 at 17:45










1 Answer
1






active

oldest

votes

















up vote
2
down vote













Both the JRE and Apache use libicu, via libxml2. You can see this on your system by asking aptitude why it needs a package:



aptitude why apache2 libicu52
aptitude why openjdk-7-jre libicu52


This will show the “main” dependency tree which pulls in libicu52, starting respectively from Apache and the JRE. You can add -v after why to list all the dependency trees linking the two packages.



The library is huge because it contains an enormous database of character set conversion tables and locale data. You can get some idea of the contents by exploring the mapping tables on the ICU web site.



I don’t think there are any alternative libraries, at least none which you can drop in easily as replacements. If you want a smaller system, your best bet is to rebuild libxml2 without the libicu dependency.






share|improve this answer




















  • Thank you for the command "why". All I see is "suggestion" throw doc package and groff (who formats man pages). So libicu is clearly not needed !
    – Vouze
    Feb 12 at 10:57










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f423067%2fwhy-icu-lib-is-so-big%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
2
down vote













Both the JRE and Apache use libicu, via libxml2. You can see this on your system by asking aptitude why it needs a package:



aptitude why apache2 libicu52
aptitude why openjdk-7-jre libicu52


This will show the “main” dependency tree which pulls in libicu52, starting respectively from Apache and the JRE. You can add -v after why to list all the dependency trees linking the two packages.



The library is huge because it contains an enormous database of character set conversion tables and locale data. You can get some idea of the contents by exploring the mapping tables on the ICU web site.



I don’t think there are any alternative libraries, at least none which you can drop in easily as replacements. If you want a smaller system, your best bet is to rebuild libxml2 without the libicu dependency.






share|improve this answer




















  • Thank you for the command "why". All I see is "suggestion" throw doc package and groff (who formats man pages). So libicu is clearly not needed !
    – Vouze
    Feb 12 at 10:57














up vote
2
down vote













Both the JRE and Apache use libicu, via libxml2. You can see this on your system by asking aptitude why it needs a package:



aptitude why apache2 libicu52
aptitude why openjdk-7-jre libicu52


This will show the “main” dependency tree which pulls in libicu52, starting respectively from Apache and the JRE. You can add -v after why to list all the dependency trees linking the two packages.



The library is huge because it contains an enormous database of character set conversion tables and locale data. You can get some idea of the contents by exploring the mapping tables on the ICU web site.



I don’t think there are any alternative libraries, at least none which you can drop in easily as replacements. If you want a smaller system, your best bet is to rebuild libxml2 without the libicu dependency.






share|improve this answer




















  • Thank you for the command "why". All I see is "suggestion" throw doc package and groff (who formats man pages). So libicu is clearly not needed !
    – Vouze
    Feb 12 at 10:57












up vote
2
down vote










up vote
2
down vote









Both the JRE and Apache use libicu, via libxml2. You can see this on your system by asking aptitude why it needs a package:



aptitude why apache2 libicu52
aptitude why openjdk-7-jre libicu52


This will show the “main” dependency tree which pulls in libicu52, starting respectively from Apache and the JRE. You can add -v after why to list all the dependency trees linking the two packages.



The library is huge because it contains an enormous database of character set conversion tables and locale data. You can get some idea of the contents by exploring the mapping tables on the ICU web site.



I don’t think there are any alternative libraries, at least none which you can drop in easily as replacements. If you want a smaller system, your best bet is to rebuild libxml2 without the libicu dependency.






share|improve this answer












Both the JRE and Apache use libicu, via libxml2. You can see this on your system by asking aptitude why it needs a package:



aptitude why apache2 libicu52
aptitude why openjdk-7-jre libicu52


This will show the “main” dependency tree which pulls in libicu52, starting respectively from Apache and the JRE. You can add -v after why to list all the dependency trees linking the two packages.



The library is huge because it contains an enormous database of character set conversion tables and locale data. You can get some idea of the contents by exploring the mapping tables on the ICU web site.



I don’t think there are any alternative libraries, at least none which you can drop in easily as replacements. If you want a smaller system, your best bet is to rebuild libxml2 without the libicu dependency.







share|improve this answer












share|improve this answer



share|improve this answer










answered Feb 9 at 15:56









Stephen Kitt

142k22308369




142k22308369











  • Thank you for the command "why". All I see is "suggestion" throw doc package and groff (who formats man pages). So libicu is clearly not needed !
    – Vouze
    Feb 12 at 10:57
















  • Thank you for the command "why". All I see is "suggestion" throw doc package and groff (who formats man pages). So libicu is clearly not needed !
    – Vouze
    Feb 12 at 10:57















Thank you for the command "why". All I see is "suggestion" throw doc package and groff (who formats man pages). So libicu is clearly not needed !
– Vouze
Feb 12 at 10:57




Thank you for the command "why". All I see is "suggestion" throw doc package and groff (who formats man pages). So libicu is clearly not needed !
– Vouze
Feb 12 at 10:57












 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f423067%2fwhy-icu-lib-is-so-big%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Peggy Mitchell

Palaiologos

The Forum (Inglewood, California)