Terminal outputting: manpath: can’t set the locale; make sure $LC_* and $LANG are correct

This worked for me today

echo "LC_ALL=en_US.UTF-8" >> /etc/environment
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
echo "LANG=en_US.UTF-8" > /etc/locale.conf
locale-gen en_US.UTF-8

Resource from https://gist.github.com/zeroc0d3/9d5333d542f7d1bc997d902ac17cd034

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top