Ask Your Question

How remove unused locale?

asked 2012-04-08 16:55:39 -0500

gaj gravatar image

Fedora 16 My directory /usr/shere/locale has 580MB How remove unused locale?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-04-09 01:35:49 -0500

Remi gravatar image

Well, with today disk space, I don't think 0,5Gio is really a big issue...

But, you can define a RPM macro to select the used locale. For example, create a /etc/rpm/macros.lang file (or any other name you want), with

%_install_langs en:fr:fr_FR:fr-FR

Then, during new package installation / upgrade, only selected locale will be installed. This will not affect already installed package.

edit flag offensive delete link more


@Remi: Will this break presto delta RPMs?

skytux gravatar imageskytux ( 2013-11-26 20:25:49 -0500 )edit

Question Tools


Asked: 2012-04-08 16:55:39 -0500

Seen: 3,796 times

Last updated: Apr 09 '12