[FIXED] bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
In this guide we are going to show you how to Fix bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8). This warning appears when you try to bash.
![]()
To fix the warning follow the following steps :
- Open the environment file in the etc folder with your preferred editor.
vi /etc/environment- Press
ikey to enter edit mode, add the following lines to the file. LANG=en_US.utf-8LC_ALL=en_US.utf-8- Pressing
Esckey and type:wqto write/save the file and exit the editor. - Run
source /etc/environment
The warning is now fixed and should be gone from the terminal



