Centos Chinese language pack installation tutorial

Source: Internet
Author: User
1. modify the system language: compile the content under the Directory # vi/etc/sysconfig/i18n English system LANG = & quot; en_US.UTF-8 & quot; SYSFONT = & quot; latarcyrheb-sun16 & quot; Chinese system LANG = & quot; zh_CN.GB18030 & quot; LANGUAGE = & quot; zh_CN.GB18030: zh_CN.GB23 1. system LANGUAGE modification:
Compile the content in this directory # vi/etc/sysconfig/i18n
English system
LANG = "en_US.UTF-8"
SYSFONT = "latarcyrheb-sun16"
Chinese system
LANG = "zh_CN.GB18030"
LANGUAGE = "zh_CN.GB18030: zh_CN.GB2312: zh_CN"
SUPPORTED = "zh_CN.UTF-8: zh_CN: zh: en_US.UTF-8: en_US: en"
SYSFONT = "lat0-sun16"

Check whether the Chinese support software package is installed in the system.
Rpm-qa | grep fonts-chinese
2. install Chinese support
Method 1. find the package on the installation disc to install it.
Rpm-ivh fonts-chinese-3.02-9.6.el5.noarch.rpm
Rpm-ivh fonts-ISO8859-2-75dpi-1.0-17.1.noarch.rpm
Method 2.
Yum install fonts-chinese
Yum install fonts-ISO8859-2
I like yum first. if there is no package, install it manually.
3. Install scim Chinese input method
Install
Scim-1.4.4-39.el5.i386.rpm
Scim-pinyin-0.5.91-16.el5.i386.rpm
Scim-tables-0.5.6-7.i386.rpm
Scim-tables-additional-0.5.6-7.i386.rpm
Scim-tables-chinese-0.5.6-7.i386.rpm
When I install the first rpm package, I am prompted that a dependency package needs to be installed. Yum install.
Next, install reboot and the Chinese input method.
No configuration required. it feels much better than the Penguin input method.
If Centos is installed in English by default, the selection of Chinese is not normal, firefox can only see the square word. however, there is a way to install these two packages easily, and then you can see Chinese. for this reason, I have been studying it for quite some time. The name of a package that is never remembered
Sometimes it may be used, as I like to minimize installation, and then it is very useful when installing other software.
# Rpm-ivh fonts-chinese-3.02-9.6.el5.noarch.rpm
# Rpm-ivh fonts-ISO8859-2-75dpi-1.0-17.1.noarch.rpm
Don't ask me where these bags are.
I found it on a CD. The premise is that you are a DVD disk. don't ask me why your MP3 cannot play videos...
The Chinese input is scim.
Mainly install
Scim-1.4.4-39.el5.i386.rpm
Scim-pinyin-0.5.91-16.el5.i386.rpm
Scim-tables-0.5.6-7.i386.rpm
Scim-tables-additional-0.5.6-7.i386.rpm
Scim-tables-chinese-0.5.6-7.i386.rpm
I installed these five packages, reboot, and then OK. you don't need to set the configuration file Centos as ubuntu does. if the configuration file is installed in English by default, the selection of Chinese is not normal, and firefox can only see square characters. however, there is a way to install these two packages easily, and then you can see Chinese. for this reason, I have been studying it for quite some time. A package name that is not always remembered may sometimes be used. for example, I like to minimize installation, and it is very useful when other software is installed.
# Rpm-ivh fonts-chinese-3.02-9.6.el5.noarch.rpm
# Rpm-ivh fonts-ISO8859-2-75dpi-1.0-17.1.noarch.rpm
There are three ways to install the language pack. Two Yum methods, one rpm method.
1. yum-fully supported Chinese environment. The disadvantage of this method is that you need to download the installation package from FTP. although you can select the number of packages to download, it is still a small amount.
Log on as root and run the following command:
Yum groupinstall -Support
In the preceding command, Is one of the following: assamese, bengali, chinese, gujarati, hindi, Japan, kannada, korean, malayalam, marathi, oriya, punjabi, sinhala, tamil, thai, telegu.
If the following error message is displayed:
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum-updatesd-he
Memory: 15 m rss (27 mb vsz)
Started: Sat Apr 10 13:34:25 2010-ago
State: Sleeping, pid: 3008
You can run the ps-U root and kill commands to end the Yum-consuming program and then run the preceding command again.
Second: The yum method, but the command is:
Yum install fonts-chinese fonts-ISO8859-2-75dpi
The first package in this method seems to be small.
Third: rpm mode. There are various language packs on the installation disk. you only need to find them and install them. In Chinese
Fonts-chinese-3.02-9.6.el5.noarch.rpm
Fonts-ISO8859-2-75dpi-1.0-17.1.noarch.rpm
I use a 6CD installation disk. The first package is on a 4of6 disk, and the second is on a 6of6 disk,
Go to the corresponding directory of each file and run the following command:
# Rpm-ivh fonts-chinese-3.02-9.6.el5.noarch.rpm
# Rpm-ivh fonts-ISO8859-2-75dpi-1.0-17.1.noarch.rpm
Install the Chinese input method as follows:
Rpm-ivh scim-1.4.4-41.el5.i386.rpm
Rpm-ivh scim-pinyin-0.5.91-16.el5.i386.rpm
Rpm-ivh scim-tables-0.5.6-7.i386.rpm
Rpm-ivh scim-tables-additional-0.5.6-7.i386.rpm
Rpm-ivh scim-tables-chinese-0.5.6-7.i386.rpm
Note: these are also on the installation disk and still need to run as root. The specific version may change.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.