LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1741|回复: 2

一个有意思的工具 localepurge - 移除不使用的 locale 文件

[复制链接]
发表于 2002-12-5 22:49:21 | 显示全部楼层 |阅读模式
看 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。

也请大家一起试试看,讨论一下经验。
发表于 2002-12-6 10:17:24 | 显示全部楼层

quanliking总是能带来新东西!

佩服佩服!您是我的榜样呀!
 楼主| 发表于 2002-12-6 10:25:53 | 显示全部楼层
这个东西比较危险 ,选择不好,中文界面就没了,慎用呀!
建议保留关于中文的那几个,有关 big5 的自己决定吧!
这个 apt howto 写着。
我小菜鸟一只,瞎起劲。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表