localepurge - reclaim disk space by removing unneeded localizations

Distribution: Debian 8 (Jessie)
Repository: Debian Main amd64
Package name: localepurge
Package version:
Package release:
Package architecture: all
Package type: deb
Installed size: 97 B
Download size: 51.16 KB
Official Mirror: ftp.br.debian.org
This package provides a script to recover disk space wasted for unneeded locales, GNOME/KDE localizations and localized man pages. Depending on the installation, it is possible to save hundreds of megabytes of disk space taken up by localization you will most probably never have any use for. It is run automatically upon completion of any APT installation actions. This tool is a hack which is *not* integrated with the system's package management system and therefore is not for the faint of heart. Its interference can provoke strange, but usually harmless, behavior in programs related to apt/dpkg, such as dpkg-repack, reportbug, etc. Responsibility for its usage and possible breakage of the system therefore lies in the system administrator's hands. Please do abstain from reporting any such bugs blaming localepurge if you break the system by using it. If you don't know what you are doing and can't handle any resulting breakage, you should not install this package.



    Source package: localepurge

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install localepurge deb package:
      # sudo apt-get install localepurge


    • /etc/apt/apt.conf.d/99-localepurge
    • /usr/sbin/localepurge
    • /usr/share/doc/localepurge/NEWS.Debian.gz
    • /usr/share/doc/localepurge/README.Debian
    • /usr/share/doc/localepurge/README.dpkg-path
    • /usr/share/doc/localepurge/changelog.gz
    • /usr/share/doc/localepurge/copyright
    • /usr/share/doc/localepurge/reinstall_debs.sh
    • /usr/share/localepurge/gen-dpkg-cfg.pl
    • /usr/share/man/man8/localepurge.8.gz


    2014-12-04 - Niels Thykier <niels@thykier.net> localepurge ( unstable; urgency=medium * Add a few more files to the whitelist based on feedback from Daniel Hahler and apt-file search. (Closes: #771973)

    2014-11-30 - Niels Thykier <niels@thykier.net> localepurge ( unstable; urgency=medium * Apply patch from Daniel Hahler to keep /usr/share/locale/all_languages from kdelibs5-data. (Closes: #771567, LP: #1243620) * New/updated translations: - Dutch, thanks Frans Spiesschaert. - Brazilian Portuguese, thanks Adriano Rafael Gomes. (Closes: #762631, #737469)

    2014-01-26 - Niels Thykier <niels@thykier.net> localepurge ( unstable; urgency=high * [CVE-2014-1638] Create tempfiles in a safe manner using mktemp. Thanks to Helmut Grohne for reporting the issue and helping with the patch. (Closes: #736359) * Properly quote the usage / initialisation of the variables containing temp files. * Remove the creation of /var/tmp/reinstall_debs.sh during postrm.

    2014-01-01 - Niels Thykier <niels@thykier.net> localepurge ( unstable; urgency=low [ Niels Thykier ] * Bump Standards-Versions to 3.9.5 - no changes required. [ Christian Perrier ] * Debconf templates and debian/control reviewed by the debian-l10n- english team as part of the Smith review project. Closes: #725468 [Debconf translation updates] * Russian (Yuri Kozlov). Closes: #729105 * Danish (Joe Hansen). Closes: #729152 * Slovak (Slavko). Closes: #729413 * Basque (Iñaki Larrañaga Murgoitio). Closes: #729464 * Polish (Michał Kułach). Closes: #729604 * German (Frank Stähr). Closes: #729784 * Japanese (Atsushi Shimono). Closes: #730173 * Italian (Beatrice Torracca). Closes: #730223 * French (Christian Perrier). Closes: #730295 * Czech (Miroslav Kure). Closes: #730334 * Portuguese (Américo Monteiro). Closes: #730339 * Swedish (Martin Bagge / brother). Closes: #730480 * Spanish (Matías A. Bellone). Closes: #733730

    2013-09-20 - Niels Thykier <niels@thykier.net> localepurge (0.7.3) unstable; urgency=low * Upload to unstable. * Update debconf translations: - pt_BR: Thanks to Adriano Rafael Gomes. (Closes: #693377) * Update the debconf database with the current values from /etc/locale.nopurge (if the file exists). Thanks to Samuel Bronson for the report. (Closes: #691431) * Remove the "| hurd" in the "procps | hurd" dependency now that hurd has procps. * Remove full path to ucf and ucfr in the postinst and postrm scripts. * Bump Standards-Version to 3.9.4 - no changes required. * Unconditionally run "set -e" in postrm. * Correct the spelling of Francesco Potortì in the NEWS file and add him to d/copyright and AUTHORS in localepurge.8. (Closes: #690211) * Add "-n" to the call to mv(1) in d/postrm and override a lintian warning.

    2012-06-10 - Niels Thykier <niels@thykier.net> localepurge (0.7.2) experimental; urgency=low * Fix typo in handling causing removal of all manpages when using dpkg --path-exclude. Thanks to Roderich Schupp for the report. (Closes: #676917)

    2012-06-06 - Niels Thykier <niels@thykier.net> localepurge (0.7.1) experimental; urgency=low * Do not remove locale.alias with the dpkg approach. * Remove TODO.Debian. * Actually install README.dpkg-path. This file was missing in 0.7.0.