Skip to content
V字龍(Vdragon) edited this page Apr 26, 2016 · 16 revisions

前期準備
Preparation

移除以任何其他方式安裝的 HIME 輸入法

為了避免發生 HIME 開發者也無法預期的問題,請先將先前無以此方式安裝的 HIME 輸入法移除。

取得 HIME 的原始程式碼
Acquire HIME's sourcecode

請至 HIME 的 GitHub 網站下載 HIME 的原始程式碼封存檔,將其解壓縮後留待後續步驟使用
Please download HIME sourcecode archive from Github site, extract it and made it accessible on further steps.

安裝建構 HIME 所需的軟體
Install HIME's build dependencies

請參閱建構 HIME 需要用到的軟體安裝建構 HIME 所需的軟體
Please refer Software dependencies for building HIME to install software used to build HIME

建構 HIME
Build HIME

gen-deb 這個程式必須在 hime 原始碼根目錄下被執行。
gen-deb MUST be executed under hime directory.

$ sh distro/debian/gen-deb

由程式產生的 DEB 軟體包現在應該會出現在 hime 原始碼根目錄的上一層目錄。
The generated DEB package should now locates at the parent directory of hime.

安裝 HIME(需要以 root 身份執行)
Install HIME( require superuser privilege )

# dpkg -i ../hime-*.deb
# apt-get -f install