1. Install the Chinese language package under CentOS
The Chinese language package will be downloaded through the yum command, so it is best to ensure that the current environment is connected to the Internet.
1. You need to switch to the root user, enter the command: su root, and then enter the password.
[wintests@localhost Desktop]$ su root Password: [root@localhost Desktop]#
It should be noted here that when entering the password, it will not be displayed on the screen (do not think that the input is unsuccessful). Press the Enter key directly after the input is completed.
(Recommended tutorial: centos tutorial)
2. Enter the following command and wait for download and installation. There will be a corresponding prompt after the installation is successful. (I have the latest version here)
yum groupinstall chinese-support
2. Enable Chinese input method under CentOS
1. Find System -> in the upper left corner of the screen Perferences -> Input Method
##2. Check "Enable input method feature", select "Use IBus(recommended)", and click "input Method Perferences"3. Select "Input Method", select the language Chinese you want to add, and then select Pingyin 4. Restart Virtual machine, then open the terminal first, and then press Ctrl Space to enable the Chinese Pinyin input method. You can check whether it is enabled successfully in the upper right corner of the screen. Related video tutorial recommendations:
The above is the detailed content of How to install Chinese input method under centos6.5. For more information, please follow other related articles on the PHP Chinese website!