LOCALEPURGE(8)

NAME
localepurge - reclaim disk space removing unneeded localizations

SYNOPSIS
localepurge

DESCRIPTION
localepurge is a small script to recover disk space wasted for unneeded locale files and localized man pages. You have to define the locale directory names you want to keep from removal in the /etc/locale.nopurge configuration file. Unless localepurge has been adequately configured, the system's localization files won't be touched at all.
The contents of following directories will be affected from removals:
- /usr/share/doc/kde/HTML
- /usr/share/gnome/help
- /usr/share/locale
- /usr/share/man
- /usr/share/omf
The localization files you actually need and which you want to be preserved on your system can be easily configured by editing the following file:
/etc/locale.nopurge
New locales discovered on your system will be listed in /var/cache/localepurge/localelist-new and should be added to /var/cache/localepurge/localelist by the /usr/bin/localepurge-config script.

OPTIONS
The configurable options consist of toggling verbose output, reporting a summary of freed space, and deletion of localized manual pages in addition to locale files. All actions are specified in the /etc/locale.nopurge configuration file.
For detailed debugging the commandline switch -debug or just a short -d instead are available for usage. For verbose output the commandline switch -verbose or just a short -v can be added.

A Word of CAUTION
Please note, that this tool is a hack which is not integrated with Arch Linux's package management system and therefore is not meant for the faint of heart. Responsibility for its usage and possible breakage of your system therefore lies in the sysadmin's (your) hands.
Please definitely do abstain from reporting any bugs blaming localepurge if you break your system by using it. If you don't know what you are doing and can't handle any resulting breakage on your own then please simply don't use it.
All locale directories containing a subdirectory named LC_MESSAGES which are either commented out or not even listed at all in /etc/locale.nopurge will be irreversibly deleted. The only way to reinstall any lost locales is a complete reinstallation of all the Arch Linux packages containing them. For more information, see "Reinstalling all installed packages" at http://wiki.archlinux.org/index.php/Pacman_Tips.

FILES
/etc/locale.nopurge

AUTHOR
localepurge and its accompanying manual page was written for the Debian GNU/Linux system by Paul Seelig <pseelig@debian.org> with major contributions from Gustavo Noronha Silva <kov@debian.org> and Francesco Potortì. The author sincerely hopes that some day further development of Debian's great package management system will make localepurge fully obsolete.

NOTE
This manual page and the Debian localepurge script have been modified for Arch Linux system by Francesco Groccia <frgroccia gmail.com>. Some Debian-specific information has been removed.
In particular, the following files have been revised from the localepurge source code (Debian "sid" distribution):

../debian/localepurge.8 ../debian/localepurge.config ../usr/sbin/localepurge