"Chinese Support" is not available for CentOs7

After installing Centos 7 and setting up Chinese input (intelligent pinyin), Chinese cannot be input except Terminal, and switching the input method is invalid. The general solution on the Internet is groupinstall'chinese support' and other packages, but none of them can be found in centos7. Later, I found a way to get Chinese support:

yum groupinstall "Fonts"
yum groupinstall "Input Methods"

Encoding settings

## Temporarily effective
# export LANG="zh_CN.UTF-8"    #Set to Chinese
# export LANG="en_US.UTF-8"    #Set to English, I prefer to export LANG like this=C

## Permanently effective, edit/etc/sysconfig/i18n (preferably reboot)
LANG="zh_CN.UTF-8"

## Or edit/etc/profile configuration file, add the following line
export LANG="zh_CN.UTF-8"
# Reload
. /etc/profile

## View the current character set
echo $LANG

Coding setting of remote terminal

Recommended Posts

"Chinese Support" is not available for CentOs7
Ubuntu 19.04 daily creation version is available for download