Clean your computer of hundreds MB's of unwanted languages

Write tutorials and howtos in here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

Clean your computer of hundreds MB's of unwanted languages

Postby GeneC on Sun Aug 12, 2012 7:50 am

(This is a repost of a reply I put on another thread)

=============================================

No need to have many languages on your computer, if you only know one or two.... :roll: :lol:
I've always removed several hundred megabytes of unnecessary 'locales' (language packs) after a new installation.

There are two ways.

1. Bleach bit. (Its in the repos)
Option below lets you choose which to keep and which to purge permanently.

click for full size
Image

2. There is also a command line program (script)also in the repos.
That let you choose (during its installation) which language packs (locales) to purge.
Its "localepurge"

After installing run
Code: Select all
sudo localepurge

It also runs automatically after any upgrade.

INFO and Usage
http://crunchbanglinux.org/wiki/howto/localepurge

Well worth installing.

NOTE:
As with any programs that uninstall things USE CAREFULLY! ...... :mrgreen:
Last edited by GeneC on Tue Nov 20, 2012 8:53 pm, edited 1 time in total.
GeneC

AMD Phenom2x4 3.2 ghz, 12GB DDR3, Nvidia GTX 460

LMDE (Cinnamon)
Debian (Gnome Shell 3.8.4 - Testing)
Siduction (XFCE -Debian SID)
Makulu 5 (XFCE-Testing)
User avatar
GeneC
Level 6
Level 6
 
Posts: 1465
Joined: Fri Sep 03, 2010 1:59 pm
Location: Maine, USA

Linux Mint is funded by ads and donations.
 

Re: Clean your computer of hundreds MB's of unwanted langu

Postby squeezy on Sun Aug 12, 2012 9:19 am

Nice little tutorial, GeneC. Installing Bleachbit and cleaning up unused languages is one of the first things I do after an install. It typically cleans out around 350-400 MB on a Debian install and 150-200 MB on an Ubuntu/Mint install.
squeezy
Level 5
Level 5
 
Posts: 567
Joined: Thu Feb 23, 2012 2:05 pm
Location: The Land of Enchantment

Re: Clean your computer of hundreds MB's of unwanted langu

Postby GeneC on Sun Aug 12, 2012 9:26 am

Hi squeezy

localepurge is nice as it works automatically with every update.
I still check with Bleachbit, as I am a 'neatnick'.... :lol:
GeneC

AMD Phenom2x4 3.2 ghz, 12GB DDR3, Nvidia GTX 460

LMDE (Cinnamon)
Debian (Gnome Shell 3.8.4 - Testing)
Siduction (XFCE -Debian SID)
Makulu 5 (XFCE-Testing)
User avatar
GeneC
Level 6
Level 6
 
Posts: 1465
Joined: Fri Sep 03, 2010 1:59 pm
Location: Maine, USA

Re: Clean your computer of hundreds MB's of unwanted langu

Postby OrganizedFellow on Tue Nov 20, 2012 3:52 pm

I installed and ran localepurge.
Code: Select all
sudo localepurge
localepurge: Disk space freed in /usr/share/locale: 156820 KiB
localepurge: Disk space freed in /usr/share/man: 3872 KiB
localepurge: Disk space freed in /usr/share/gnome/help: 26752 KiB
localepurge: Disk space freed in /usr/share/omf: 1320 KiB
localepurge: Disk space freed in /usr/share/doc/kde/HTML: 0 KiB

Total disk space freed by localepurge: 188764 KiB


184MB
Not bad!
Thanks for the suggestion!
OrganizedFellow
Level 1
Level 1
 
Posts: 1
Joined: Sun Nov 18, 2012 9:12 pm

Re: Clean your computer of hundreds MB's of unwanted langu

Postby d00med on Tue Nov 20, 2012 6:32 pm

Downloading those language packs is the most time consuming process of installing Mint, over 3G. I was told one can skip that step during the installation, but I've never seen an option for that.
d00med
Level 4
Level 4
 
Posts: 330
Joined: Fri Nov 26, 2010 9:55 am

Re: Clean your computer of hundreds MB's of unwanted langu

Postby bimsebasse on Tue Nov 20, 2012 6:43 pm

That's because it's "hidden" - if you expand to terminal view during installation, a small button with "Skip" will appear when the "downloading language packs" appears.

Recommend bleachbit at any rate - took 300mb off my Mint 14 RC install (and 700+mb off my Mint 13 install, maybe's there's less chaff these days).
Thank you for this thread. That’s all I can say. You most definitely have made this forum into something special. You clearly know what you are doing, you’ve covered so many bases. Thanks!
User avatar
bimsebasse
Level 7
Level 7
 
Posts: 1709
Joined: Fri Nov 11, 2011 10:21 am
Location: Scandinavia

Re: Clean your computer of hundreds MB's of unwanted langu

Postby nomko on Wed Nov 21, 2012 3:58 am

bimsebasse wrote:Recommend bleachbit at any rate


I like Bleachbit also! It's a very handy clean-up tool. First application i install after any installation of Linux.
ASUS P5KPL-AM SE*Intel Core2 Quad CPU Q8200*4 GiB ram*nVidia GeForce 9500GT*Realtek RTL8101/8102E*Optiarc DVD-RW AD-7200A*HDD:Samsung HD501LJ/HD103SI*Sitecom X5-N600 Router (WLR-5100)*Mint 16

Copy.com

I don't need Google, my wife knows everything!
User avatar
nomko
Level 7
Level 7
 
Posts: 1935
Joined: Sat Feb 25, 2012 7:28 pm
Location: The Hague, The Netherlands

Linux Mint is funded by ads and donations.
 

Return to Tutorials / Howtos

Who is online

Users browsing this forum: Majestic-12 [Bot] and 11 guests