Han-Redhat your Huanguo (iii)

Source: Internet
Author: User
Tags locale

Objective

Today, I got a Redhat 7.0 (Beijing Linux Club version, Zhongguancun just listed), it feels really good. Nothing else to say, because it uses the XFREE86 4.0 and GLIBC 2.2, making it very good for the Oriental and TrueType support performance, the whole culture work I only spent 10 minutes to complete. You ready? Let ' s go free

A required package

ZH_CN for GLIBC 2.2--Chinese definition file for glibc 2.2

Chinput 3.0 + chinput 3.0-patch--Chinese Input method and patch

Unicon 2--Chinput's Table code library

PTH--Portable line threading

You can download the above packages on my homepage (http://www.linuxorb.net)

Installation of Simplified Chinese environment

2-1 Generate Simplified Chinese locale

Unpack the downloaded zh_cn.gz: Gunzip zh_cn

Execute command: localedef-f gb2312-i zh_cn zh_cn.gb2312

If there is no accident, the zh_cn.gb2312 directory will be added under/usr/lib/locale.

2-2 Test Simplified Chinese locale

Since the ZH_CN definition contains more Chinese information, there is much more Chinese information than the one introduced in the previous two articles from the Taiwanese CLE locale.

Use Chinese locale:export lc_all=zh_cn.gb2312

Test Chinese locale: Execute command date to see if there is any change.

Note: On the Redhat 7.0 I used, I only did the above work, STARTX can see the Chinese, the most obvious is that the GNOME desktop clock has become Chinese. If it's in your Redhat 7.0,

If you have any questions, I hope you can tell me.

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.