Question comment corriger l'erreur perl -e exit?


perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_PAPER = "id_ID.UTF-8",
    LC_ADDRESS = "id_ID.UTF-8",
    LC_MONETARY = "id_ID.UTF-8",
    LC_NUMERIC = "id_ID.UTF-8",
    LC_TELEPHONE = "id_ID.UTF-8",
    LC_IDENTIFICATION = "id_ID.UTF-8",
    LC_MEASUREMENT = "id_ID.UTF-8",
    LC_TIME = "id_ID.UTF-8",
    LC_NAME = "id_ID.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

comment le réparer?

avant de raconter ce repost J'ai déjà fait

ajouter une ligne: dans / etc / environment & / etc / default / locale

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

et faites la commande:

dpkg-reconfigure locales
locale-gen en_US.UTF-8

1
2018-06-02 20:09


origine


j'ai juste oublié de redémarrer: P - Ivan


Réponses:


Ajoutez les lignes suivantes à votre /home/username/.bashrc fichier:

exporter LANGUAGE = en_US.UTF-8
exporter LC_ALL = en_US.UTF-8

1
2018-06-02 20:22