Locale Issue on Ubuntu


Error message:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_TIME = "id_ID.UTF-8",
        LC_MONETARY = "id_ID.UTF-8",
        LC_ADDRESS = "id_ID.UTF-8",
        LC_TELEPHONE = "id_ID.UTF-8",
        LC_NAME = "id_ID.UTF-8",
        LC_MEASUREMENT = "id_ID.UTF-8",
        LC_IDENTIFICATION = "id_ID.UTF-8",
        LC_NUMERIC = "id_ID.UTF-8",
        LC_PAPER = "id_ID.UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
locale: Cannot set LC_ALL to default locale: No such file or directory

Edit bashrc:

nano ~/.bashrc

Tambahkan code berikut:

export LC_ALL="en_US.UTF-8"

Leave a comment

Your email address will not be published. Required fields are marked *