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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.