Skip to content

Ubuntu Server Setup

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

When running commands like man or apt, you might see warnings like:

sh
sudo locale-gen "en_US.UTF-8"
sh
sudo dpkg-reconfigure locales
sh
$ vim /etc/default/locale
sh
LC_ALL="en_US.UTF-8"

Source: GitHub Gist