Installation and Use of zhcon0.2.6, a Chinese software for Linux Terminals

Source: Internet
Author: User

Linux was initially developed around the ASCII coding system and does not consider non-English users. As a result, it has a high usage threshold, especially for Asian users, because of the special characteristics of hieroglyphics (including Chinese, Korean, and Japanese, CJK for short), it is more difficult to localize Linux. In this context, ejoy and others initiated the zhcon project. The goal of this project is "to provide a convenient and easy-to-use Chinese language environment for Chinese Linux users, especially for beginners and developers who need to release Linux Chinese applications ."

This document briefly describes how to install zhcon in Linux in combination with the latest version 0.2.6 of zhcon. The source code and RPM package of zhcon can be downloaded from http://zhcon.sourceforge.net. There are two files to be downloaded in this article: zhcon-0.2.5.tar.gzand zhcon-0.2.5-to-0.2.6.diff.gz. Assume that both files are downloaded to the/root directory (You can also download the files to your favorite directory ).

Decompress the zhcon-0.2.5.tar.gz file first:

[Root @ Cyc zhcon] # tar zxvf zhcon-0.2.5.tar.gz

Decompress the package and obtain a zhcon-0.2.5 in the/root directory. This directory contains all source code and man manuals for the zhcon-0.2.5 version.

CD zhcon-0.2.5

Zcat ../zhcon-0.2.5-to-0.2.6.diff.gz | patch-p1

Or:

Unzip zhcon-0.2.5-to-0.2.6.diff.gz:

[Root @ Cyc zhcon] # gzip-D zhcon-0.2.5-to-0.2.6.diff.gz

Decompress the package to get the zhcon-0.2.5-to-0.2.6.diff file. This file is actually a patch file, through the following command to patch this file into the source code of the zhcon-0.2.5:

[Root @ Cyc zhcon] # patch-P0 <zhcon-0.2.5-to-0.2.6.diff

 

In this way, the original version 0.2.5 of zhcon is upgraded to version 0.2.6. The next step is to install the three steps fixed on the UNIX platform:

[Root @ Cyc zhcon-0.2.5] #./configure

[Root @ Cyc zhcon-0.2.5] # Make

[Root @ Cyc zhcon-0.2.5] # make install

In this way, zhcon is installed on the Chinese console. To use zhcon, you only need to enter the following command in the console:

[Root @ Cyc zhcon-0.2.5] # zhcon

You can.

To obtain the help information of zhcon, you only need to enter the man zhcon command. In addition, the man manual of zhcon says the configuration file zhcon. conf is located in the/etc directory, but in version 0.2.6, zhcon. conf is located in the/usr/local/etc/directory. In addition, the font resources used by zhcon are located in the/usr/local/lib/zhcon/directory. In addition to Linux, zhcon has been transplanted to the FreeBSD platform. For details about the development history and working principles of zhcon, see http://zhcon.sourceforge.net/develop_cn.html.

Source: http://blog.chinaunix.net/u/29238/showart_227729.html
Note: For source filesZhcon-0.2.5.tar.
GZAndZhcon-0.2.5-to-0.2.6.diff.gzDownload
For more information, see "instance resolution: Use of diff and patch-install and use zhcon0.2.6, a Chinese software for Linux terminals".

Landnow Note: Linux (as4) zhcon0.2.6 installation see http://hi.baidu.com/landnow/blog/item/7ff0333f73181eee55e7236e.html

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.