LoginSignup
0
0

More than 1 year has passed since last update.

Failed to set locale, defaulting to C.UTF-8 対策

Posted at

Failed to set locale, defaulting to C.UTF-8 が出てしまう場合

何かのコマンドを打つたびにこんなメッセージが出てしまう場合

Failed to set locale, defaulting to C.UTF-8

日本語向けパッケージがインストールされてないからっぽい。

# dnf -y install langpacks-ja

ロケールをセット

# localectl set-locale LANG=ja_JP.UTF-8

同じコマンドを打って確認

# dnf -y install langpacks-ja
メタデータの期限切れの最終確認: 0:10:14 時間前の 2022年04月27日 10時33分16秒 に実施しました。
パッケージ langpacks-ja-1.0-12.el8.noarch は既にインストールされています。
依存関係が解決しました。
行うべきことはありません。
完了しました!
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0