Skip to content

Instantly share code, notes, and snippets.

@brianunlam
Forked from seafooler/manpath-wrong
Created April 26, 2019 22:15
Show Gist options
  • Save brianunlam/6a976781bb9be72e358a6b2dca9c171f to your computer and use it in GitHub Desktop.
Save brianunlam/6a976781bb9be72e358a6b2dca9c171f 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