- Debian Admin - http://www.debianadmin.com -
Remove unnecessary Files in Debian and Ubuntu Using localepurge
Posted By Admin On 28th September 2006 @ 09:18 In General | No Comments
If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
Please note, that this tool is a hack which is *not* integrated with Debian’s package management system and therefore
is not for the faint of heart. This program interferes with the Debian package management and does provoke strange, but
usually harmless, behaviour of programs related with apt/dpkg like dpkg-repack, debsums, reportbug, etc. 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 such 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 this
package.
Install localepurge in debian
#apt-get install localepurge
After installing anything with apt-get install, localepurge will remove all translation files and translated manpages in languages you cannot read.
If you want to configure localepurge you need to edit /etc/locale.nopurge
This can save you several megabytes of disk space, depending on the packages you have installed.
Example:-
I am trying to install dicus using apt-get
#apt-get install discus
after end of this installation you can see something like below
localepurge: Disk space freed in /usr/share/locale: 41860K
Install Localepurge in Ubuntu
$sudo apt-get install localepurge
If you want to know more about localepurge options check localepurge man page
Article printed from Debian Admin: http://www.debianadmin.com
URL to article: http://www.debianadmin.com/remove-unnecessary-files-in-debian-and-ubuntu-using-localepurge.html
Click here to print.