How to change locale on RHEL 8 & 9?

Solution Verified - Updated -

Issue

  • Setting locale fails with error like
    • "Failed to issue method call: Locale en-US not installed, refusing."
    • "Failed to issue method call: Locale en_US not installed, refusing."
    • "Failed to issue method call: Locale ja-JP not installed, refusing."
    • "Failed to issue method call: Locale de_DE not installed, refusing."

Environment

  • Red Hat Enterprise Linux 9
  • Red Hat Enterprise Linux 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content