美文网首页
manpath: can't set the locale; m

manpath: can't set the locale; m

作者: 沙漠中的猴 | 来源:发表于2018-07-12 20:07 被阅读0次
linux.jpeg

在阿里云上操作,总是会遇到manpath: can't set the locale; make sure $LC_* and $LANG are correct这个错误。

于是查找解决办法

sudo locale-gen "en_US.UTF-8"
sudo dpkg-reconfigure locales   //如果跳转到设置页面,可以选择默认的即可。
sudo vi /etc/default/locale 改为如下

LANG=en_US.UTF-8
LC_ALL=en_US.UTF-8

然后,退出重新登录。

相关文章

网友评论

      本文标题:manpath: can't set the locale; m

      本文链接:https://www.haomeiwen.com/subject/eearpftx.html