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

I am using Ubuntu 13.10, and locale is LANG=zh_CN.UTF-8. When I use apt-get to install software, it automatically install Chinese edition for me.

How can I make it to install English edition for me?

share|improve this question

Change the LANGUAGE variable temporarily for that command:

LANGUAGE=en sudo apt-get install xyz
share|improve this answer
If LANG=en_US.UTF-8 didn't work use LANGUAGE=en_US.UTF-8. This what works for me in Ubuntu 14.04 – Sneetsher Apr 29 '14 at 5:40
@Gunnar Hjalmarsson , use LANGUAGE, I figure out that there is no need to specify LANGUAGE when install, just specify LANGUAGE when open software, it uses english edition. – hiway Apr 29 '14 at 5:58
Thanks both for the correction; I edited the answer accordingly. Just a remark, @Sneetsher: LANGUAGE=en_US.UTF-8 is actually not correct. The LANGUAGE variable shall contain a list of language codes without the .UTF-8 part. The reason why it seemed to work is that you removed the previous value, and since the new value was wrong it fell back to English. – Gunnar Hjalmarsson Apr 29 '14 at 8:54

In order to trigger generation manually, do:

sudo locale -gen

You may also generate new locales by run this following commands:

sudo locale-gen en_US.UTF-8
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.