Raspberry Pi: Fixing your Locale

Fixing your Locale on Raspberry Pi #

After a fresh install of Raspbian you will likely see the following error:

    bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

You can fix your locale with a few simple updates.

  1. Edit /etc/locale.gen and uncomment the line with en_US.UTF-8
  2. Run locale-gen en_US.UTF-8
  3. Run update-locale en_US.UTF-8

Since you've made it this far, sharing this article on your favorite social media network would be highly appreciated 💖! For feedback, please ping me on Twitter.

Published