|
看 apt howto 的说明:
Removing unused locale files: localepurge
Many Debian users use only one locale. A Brazilian Debian user, for example, usually uses the pt_BR locale all the time and doesn't care about the es one.
localepurge is a very useful tool for these users. You can free lots of space by having only the locales that you really use. Just apt-get install localepurge.
It is very easy to configure it, debconf questions guide the user in a step-by-step configuration. Be very careful on answering the first question though, wrong answers may remove all the locales files, even the ones you use. The only way to recover these files is reinstalling all the packages that provide them.
试了一下:
#localepurge
只保留 zh_CN.gbk
清理后
localepurge: Disk space freed in /usr/share/locale: 93952K
不过我发现大家还应保留 gb2312。因为发现软件界面全英文了。
用之前要多看看 man。
也请大家一起试试看,讨论一下经验。 |
|