apt-get install hime hime-qt5-immodule hime-anthy hime-chewing
im-config -n hime
reboot
reference from
https://chihping.aflypen.com/testing/software/lubuntu%E4%B8%AD-%E4%B8%AD%E6%96%87%E8%BC%B8%E5%85%A5%E6%B3%95%E5%AE%89%E8%A3%9D-7852.htm