Skip to content

Instantly share code, notes, and snippets.

@brianunlam
Forked from zeroc0d3/manpath-wrong
Created April 26, 2019 22:32
Show Gist options
  • Save brianunlam/94cfabe3a5c69d15546c7eb3d8076304 to your computer and use it in GitHub Desktop.
Save brianunlam/94cfabe3a5c69d15546c7eb3d8076304 to your computer and use it in GitHub Desktop.
Fix: "manpath: can't set the locale; make sure $LC_* and $LANG are correct"
## Problem
When login in, the shell prints:
```
manpath: can't set the locale; make sure $LC_* and $LANG are correct
```
## Solution
```
sudo locale-gen "en_US.UTF-8"
sudo dpkg-reconfigure locales
sudo echo "LC_ALL=\"en_US.UTF-8\"" >> /etc/default/locale
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment