If you faced an error "cannot change locale (UTF-8)", it can be simply solved to add following lines at /etc/environment

LANG=en_US.utf-8
LC_ALL=en_US.utf-8