Ubuntu: Where to put export LC_ALL=C? [duplicate]



Question:

This question already has an answer here:

I ran it once, but my terminal native language went back to Finnish. I've tried unsuccessfully .bashrc and .profile.

I have followed the thread here about How to set all locale settings in Ubuntu. I have also tried to setup English as locale:

sudo update-locale LANG=en_EN.UTF-8 LC_MESSAGES=POSIX  

But output:

*** update-locale: Error: invalid locale settings:  LC_NAME="fi_FI.UTF-8" LC_TIME="fi_FI.UTF-8"  LC_IDENTIFICATION="fi_FI.UTF-8" LC_NUMERIC="fi_FI.UTF-8"  LC_MESSAGES=POSIX LANG=en_EN.UTF-8 LC_MEASUREMENT="fi_FI.UTF-8"  LC_ADDRESS="fi_FI.UTF-8" LC_PAPER="fi_FI.UTF-8"  LC_MONETARY="fi_FI.UTF-8" LC_TELEPHONE="fi_FI.UTF-8"  

Where can you put export LC_ALL=C?


Solution:1

You can either simply enter them by hand in each terminal you open, like the following:

LC_ALL=C  LANG=C  

or you put it into .bashrc in the following way:

LC_ALL=C  LANG=C  export LC_ALL LANG  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »