freeing up some diskspace on Ubuntu

So, using most any Debian-based distro (Ubuntu’s my flavor of choice right now), there’s a pretty easy way to free up some diskspace wasted by a bunch of extra localization files for languages you probably don’t speak. Install the localepurge package, and just pick the language(s) you care about from the menu that comes up. I just picked en_US and en_US.UTF8 (or whatever the two us English packages were) on mine, since that’s all that’s spoken by anyone who uses my machines.

So, installing’s pretty straightforward:

sauer@hotrod:~$ sudo apt-get install localepurge

Then you’ve gotta actually run it. As root.

sauer@hotrod:~$ sudo localepurge
localepurge: Disk space freed in /usr/share/locale: 42101K
localepurge: Disk space freed in /usr/share/man: 3313K
Total disk space freed by localepurge: 45414K

Whee. There’s 45MB I can waste on something else now! :)