Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Ubuntu, where is the Locales configuration file. I want to leave en_us_utf8 and remove others like en_GB or en_zimbabwe. Is it the locale-archive file /usr/lib/locale, because I can't open this file.

share|improve this question
whats on your engine desktop, server, something custom? – Josh Sep 19 '13 at 16:00
What file are you trying to open? What is the output of writing locale in your terminal? – Braiam Sep 19 '13 at 16:37

If you like to remove dispensable language packs from your installation just enter:

sudo apt-get install localepurge

Now you see a debconf interface that asks you to select all languages like to keep.

This may take a while but is the easiest solution for newbies.

share|improve this answer

You can reconfigure your language with sudo dpkg-reconfigure locales, then answer the questions and let it regenerate the language cache.

On a side note: you shouldn't be tampering with languages manually, they're waaay too easy to break.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.