LoginSignup
0

More than 5 years have passed since last update.

JetsonTX2で日本語入力(ibus-mozc)導入

Last updated at Posted at 2019-01-04

環境

  • Jetson TX2
  • Jetpack 3.3
  • Ubuntu 16.04

導入

Ubuntu 16.04 LTS(Xenial) arm64 ではmozc pkgがサポートされていないので、以下のサイトを参考にさせていただき、日本語入力できるようにしてみました。
参考)Debian, Ubuntu で 上流のパッケージを借りてくる

手順

Ubuntu 16.04 LTS(Xenial)arm64 ではmozc pkgがサポートされていないが、Ubuntu 18.04 LTS(Bionic)arm64 ではサポートされているらしいので、そのパッケージを借りてくる。
Ubuntu – パッケージ検索結果 — mozc を見ていただくと、Bionicのarm64でIbus-mozcがサポートされていることを確認できる。

標準のリリースをxenialに設定

/etc/apt/apt.conf.d/01ubuntu に以下を記載する

APT::Default-Release "xenial";

mozc をpinningする

/etc/apt/preferencesに以下を記載する

Package: *mozc*
Pin: release n=xenial
Pin-Priority: -10

Package: *mozc*
Pin: release n=bionic
Pin-Priority: 900

bionicを追加

/etc/apt/sources.list に以下を追記

deb http://ports.ubuntu.com/ bionic main universe

パッケージ情報の更新

$ sudo apt update

検索結果にmozcが出てくる


$ apt-cache search mozc
mozc-data - Mozc input method - data files
ibus-mozc - Mozc engine for IBus - Client of the Mozc input method
mozc-server - Server of the Mozc input method
mozc-utils-gui - GUI utilities of the Mozc input method
emacs-mozc - Mozc for Emacs
emacs-mozc-bin - Helper module for emacs-mozc
fcitx-mozc - Mozc engine for fcitx - Client of the Mozc input method
uim-mozc - Mozc engine for uim - Client of the Mozc input method

パッケージの導入


$ sudo apt-get install ibus-mozc

後はリブート!!!

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0