Enable Japanese input on Debian with Anthy

Install some Japanese fonts:
apt-get install ttf-kochi-mincho ttf-kochi-gothic ttf-sazanami-mincho

Install ibus and anthy:
apt-get install ibus ibus-anthy anthy-common

Configure:
ibus-setup

Run im-config to set the input method:
im-config