View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-08-2005, 03:27 AM   #1
Registered: Oct 2003
Location: Bucharest
Distribution: Debian Sarge, Slackware Current, Ubuntu
Posts: 183

Rep: Reputation: 30
Purpose of some directories

What is the purpose of /usr/lib/locale and /usr/share/locale ? It seems that there's some internalization files, but I think I don't need them. I have a hard-disk space shortage and I'd like to erase them. Is there a safe way to erase/shrink these directories ?
Old 01-08-2005, 04:04 AM   #2
LQ Newbie
Registered: Jan 2005
Location: London, england
Distribution: Debian
Posts: 9

Rep: Reputation: 0
The locale file are, as you guessed, related to internationalisation and the character set of your language of choice. Applications, and distro's, sometimes install locale related files, so you'd be better off saving disk space elswhere. Removing locale files may break your applications.

If your just an English speaker and you spot a serb-croat or persian locale you might be safe deleting it but it would be a risk I'd prefer not to take.
Old 01-08-2005, 05:47 AM   #3
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,840

Rep: Reputation: 342Reputation: 342Reputation: 342Reputation: 342
The locale files are used to designate your (i.e. the user) locale (for language and time keeping purposes). If your installation has successfully recognized your locale and time zome, you may safely delete all other locales. You may also safely hunt down and delete languange files which you don't use or can't use (not fluent in those languages). I have done so through three different Linux distros, and the only impact I noticed was in web browsing. The languages I deleted did not display properly.
However, since I am not fluent in those languages, I didn't loose anything.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Searching multiple directories and sub directories for a file jeep99899 Linux - Newbie 2 10-13-2005 12:23 PM
what distro for my purpose mht Linux - Newbie 2 07-06-2005 10:29 PM
What is the purpose of LiveCDs? john_walsh54 Linux - Newbie 4 04-05-2005 12:12 AM
Purpose of HCL the_imax LQ Suggestions & Feedback 6 01-11-2005 05:31 AM
purpose of symbol ^ sharonyiisl Linux - Newbie 3 09-20-2004 01:14 PM

All times are GMT -5. The time now is 06:00 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration