bash: locale-gen: command not found
When I run locale-gen command, i get the following error
1 2 3 |
root@netmon1:~# locale-gen en_US.UTF-8 bash: locale-gen: command not found root@netmon1:~# |
To see which package provide the locale-gen command, run
1 2 3 |
boby@sok-01:~$ dpkg -S /usr/sbin/locale-gen locales: /usr/sbin/locale-gen boby@sok-01:~$ |
The command locale-gen is provided by package locales. To fix the error install package “locales” with the command
1 |
apt install -y locales |
See locale-gen