Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to create man Chinese in Linux system

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces the relevant knowledge of "how to create man Chinese in the Linux system". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Steps

1. Download the open source man-pages Chinese manual package

two。 Configure the decompression manual package

3. Installation and testing Chinese manual

Download the open source man-pages Chinese manual package

Address: https://manpages-zh.googlecode.com/files/manpages-zh-1.5.1.tar.gz

Download from the command line through the wget command

The code is as follows:

Wget https://manpages-zh.googlecode.com/files/manpages-zh-1.5.1.tar.gz

Configure the decompression manual package

1. Set the locale to Chinese

Check the locale of the machine:

The code is as follows:

Echo $LANG

If it is not zh_CN.utf8, set it through the export LANG=zh_CN.utf8 command

If the setup command is unsuccessful, you can run locale-a to view the character sets supported by the system

Unpack the installation package below:

The code is as follows:

Tar-zxvf manpages-zh-1.5.1.tar.gz

Enter the decompression directory:

The code is as follows:

Cd manpages-zh-1.5.1

Installation

Execute the following commands in turn

The code is as follows:

. / configure-- disable-zhtw

# if you need to install traditional characters, run directly. / configure. But in this case, you need to install the zh-autoconvert package, and this package is debian's deb package. It is troublesome for other operating systems to install this package.

Make

Make install

If the command execution is successful, then congratulations, Chinese help installation is successful.

test

The code is as follows:

Man find

This is the end of the content of "how to create man Chinese in Linux system". Thank you for your reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report