Home > Operation and Maintenance > CentOS > How to set the language in centos system to Chinese

How to set the language in centos system to Chinese

王林
Release: 2020-03-23 15:29:52
Original
4272 people have browsed it

How to set the language in centos system to Chinese

1. Execute the following command to install the Chinese language pack

sudo yum groupinstall chinese-support
Copy after login

(Recommended tutorial: centos usage tutorial)

2. Edit the ".bashrc" file

vim ~/.bashrc
Copy after login

Add "export LANG="zh_CN.UTF-8"" at the end

How to set the language in centos system to Chinese

3. Restart the system

sudo shutdown -r  now
Copy after login

Related video tutorial recommendations: linux video tutorial

The above is the detailed content of How to set the language in centos system to Chinese. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template