---
title: "Linux下配置安装nkf"
author: "netxdiy"
date: "2007-12-18T17:54:00Z"
tags: []
slug: "linux-nkf"
draft: false
lastmod: "2012-10-11T12:13:19Z"
id: 1696005
url: "https://netxdiy.iteye.com/blog/1696005"
---

&lt;script type="text/javascript"&gt;&lt;!-- google\_ad\_client = "pub-0241434510974184"; /* auto-http.cn 右边 ,468x60 \*/ google\_ad\_slot = "0902256228"; google\_ad\_width = 468; google\_ad\_height = 60; // --&gt;&lt;/script&gt;&lt;script src="http://pagead2.googlesyndication.com/pagead/show\_ads.js" type="text/javascript"&gt;&lt;/script&gt;

## Linux下配置安装nkf

1.确认Linux下有gcc编译工具(c编译器一般Linux都有)

2.nkf主页上面下载

www.ie.u-ryukyu.ac.jp/~kono/nkf

或者

sourceforge.jp/projects/nkf

3.编译nkf下载nkf之后解压.

然后在解压目录输入:make

例如: \[root@localhost nkf206]# make

cc -O -Wall -o nkf nkf.c utf8tbl.o

编译生成nkf文件.

4.nkf复制到系统目录

\[root@localhost nkf206]#cp nkf /usr/local/bin/