How to remove unused locales from "/usr/share/locale" in RHEL6?

Solution Unverified - Updated -

Issue

  • There are lots of language files in "/usr/share/locale" directory, but that all are not used by user. How would we safely get rid of all the unused files from the locale directory?
  • Is it safe to remove language files from "/usr/share/locale" directory?
  • The /usr is running out of space. Lack of space on /usr directory due to "/usr/share/locale" directory consuming most of the space. How to remove unused locale files from this directory?

Environment

  • Red Hat Enterprise Linux 6

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