[Linux] Purge unwanted locales on RPM installation

When installing RPM packages on Linux, you'll also install a lot of unneeded locales - there are only so many languages you can speak.

To avoid installing all locales every time, you can specify the ones you're interested in inside the /etc/rpm/macros.lang file (example for English UK and Italian):

%_install_langs   en:it:en_GB:en-GB:it_IT:it-IT

this will apply only to newly installed RPMs.

No comments:

Post a Comment

With great power comes great responsibility.

Da grandi poteri derivano grandi responsabilità.