come correggere l'errore perl -e exit?


1
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").

come sistemarlo?

prima di dire questo repost lo faccio giĆ 

aggiungi riga: in / 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

e comando:

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

ho appena dimenticato di riavviare: P
Ivan

Risposte:


1

Aggiungi le seguenti righe al tuo /home/username/.bashrcfile:

export LANGUAGE = en_US.UTF-8
export LC_ALL = en_US.UTF-8
Utilizzando il nostro sito, riconosci di aver letto e compreso le nostre Informativa sui cookie e Informativa sulla privacy.
Licensed under cc by-sa 3.0 with attribution required.