Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I accidentally add a locale, e.g. sudo locale-gen zh_TW

e.g. locale -a

zh_TW

But how to remove it?

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

I think you can do this by editing /var/lib/locales/supported.d/local and removing that locale. Then run locale-gen to regenerate the compiled locales.

share|improve this answer
add comment

You can also reconfigure the locales package using dpkg-reconfigure locales.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.