Tuesday, February 21, 2017

Locale - Setting perl locale failed *Linux*

Locale - Setting perl locale failed *Linux*

How to restore locale on Ubuntu


When trying to install a new app, getting:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
 
 
How to fix it?

Get into terminal Ctrl + Alt + T and write down:

man locale-gen
 
sudo locale-gen en_US.UTF-8
sudo dpkg-reconfigure locales


Problem fixed.

No comments:

Post a Comment

Thank you for your comment. Will try to react as soon as possible.

Regards,

Networ King