Japanese for RedHat -
from http://anime.collapsar.net/nihongo/JIM/index.shtml
with modifications made by me.
Dr. Mike Fabian points out that "you can check whether you have some Japanese fonts available to your X-server with: "
~$ xlsfonts |grep jisx
A basic set of Japanese bitmap fonts is already part of xf86.rpm. Therefore, almost all systems with X installed already have some Japanese fonts and the output of the above xlsfonts command should at least contain:
-jis-fixed-medium-r-normal--0-0-75-75-c-0-jisx0208.1983-0
-jis-fixed-medium-r-normal--16-110-100-100-c-160-jisx0208.1983-0
-jis-fixed-medium-r-normal--16-150-75-75-c-160-jisx0208.1983-0
-jis-fixed-medium-r-normal--24-170-100-100-c-240-jisx0208.1983-0
-jis-fixed-medium-r-normal--24-230-75-75-c-240-jisx0208.1983-0
extensive list deleted to safe space...
Step 1
Open your favorite FTP client and go here (if you can't find this directory,
look for one that matches your version of RedHat):
ftp://ftp.kddlabs.co.jp/Linux/jrpm/JRPM60/ALL/
And get these (or newer) RPMs (or the ones to match your architecture - there are Sparc, PPC and also SRPMs available for most packages):
It took some looking but I was able to get them all. I uploaded them to the website for safekeeping.
Canna-3.5b2-20JRPM60.i386.rpm
kinput2-canna-v3-2JRPM60.i386.rpm
locale-ja-2.1.1.1-2.noarch.rpm
kterm-6.2.0-9JRPM60.i386.rpm
Now install them.
Cannaserver seems to start itself. You can type cannastat to see how it is. I got:
Connected to unix
Canna Server (Ver. 3.5)
Total connecting clients 1
USER_NAME ID NO U_CX C_TIME U_TIME I_TIME HOST_NAME CLIENT
root 0 0 2 Sat 9 12:33pm 0 3 localhost. kinput2
Step 2
Next I entered:
export LC_ALL=ja_JP
export LANG=ja_JP.euc.JP
export XMODIFIERS='@im=kinput' and all went well.
If I type locale I get:
LANG=ja_JP.eucJP
LC_CTYPE="ja_JP"
LC_NUMERIC="ja_JP"
LC_TIME="ja_JP"
LC_COLLATE="ja_JP"
LC_MONETARY="ja_JP"
LC_MESSAGES="ja_JP"
LC_ALL=ja_JP
Which means it took. I think you can set messages back to English with export LC_MESSAGES=en_US
Next, add this line to your .Xdefaults file:
*inputMethod kinput2 ------(Anywhere seems to be OK.)
Step 3
Type this into the console:
/usr/bin/X11/kinput2 -canna &
Linux returned:
[1] 1555
Which meant it was running.
Restart X (or just type the above commands by hand this time). Now open up a
kterm. Type "cannastat" to be sure that everything is working properly.
This shows that Canna is up and running and kinput is successfully installed
as a client.
Finally, press Ctrl-Kanji (or Shift-SPACE). You should see this:

kterm ready for Japanese input
Now you have Japanese input working in kterm (and anything running under kterm, like Lynx).

The Kana->Kanji Selection popup window