Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to create man Chinese in Linux system

Shulou Source: shulou.com Published: 2022-06-01 07:57:47 10月04日 Update

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!

Tags: Chinese code commands manuals systems success content more environment knowledge language testing running configuration practicality learning and then operating system in this case dilemma Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Docker MySQL Huawei OPPO Reno