ubuntu20.04编译安装最新版ibus输入法
- 首先下载源文件
git clone --depth=1 https://github.com/libpinyin/ibus-libpinyin.git
git clone --depth=1 https://github.com/GNOME/gnome-common.git
- 设置gonme-common到当前PATH环境变量中
export PATH=:$PATH:/src/gnome-common/macros2:
- 安装依赖
sudo apt install gettext*
sudo apt install libpinyin-devel
- 开始autogen.sh
./autogen.sh --disable-english-input-mode prefix=/usr
- 编译安装
make
sudo make install