by Devin Yang
(This article was automatically translated.)

Published - 2 years ago ( Updated - 2 years ago )

If Vim is set to Chinese environment, but Ubuntu is not set to zh_TW.UTF-8 during installation, How to install this environment?

If you can't find this zh_TW, use "Locale-Gen" to add this locale library
and reset once (requires ROOT permission)
$ sudo locale-gen zh_TW.UTF-8 
$ dpkg-reconfigure locales

Missing packages, please install

apt -get install -y locales

 

Tags: config vim

Devin Yang

Feel free to ask me, if you don't get it.:)

No Comment

Post your comment

Login is required to leave comments

Similar Stories


vim

Write Code with Command Line's Vim??

If you are a beginner of Vim, do you want to use Command Line Vim to connect to the remote host to write Code? Ok you've come to the right place, please at least consider reading this article. Here is a short video on how to manage cheats...

linux,system,config

Fix the problem that CentOS6.x can no longer be updated

There may still be some old programs in some places, which can only run the old system. But you want to be able to execute and install some desired packages, you may try this method. Please note that if this system is important to you, please evaluate it yourself. It is recommended that you have a Docker environment and have a backup image before trying it.

ssh,security,config

About SSH_USER_AUTH

After OpenSSH 7.6, you can add the ExposeAuhtInfo yes parameter in the sshd_config configuration file, restart sshd, and then log in, there will be an environment variable $SSH_USER_AUTH which can be written into a temporary file in tmp, which contains the login public key