ICode9

精准搜索请尝试: 精确搜索
首页 > 系统相关> 文章详细

记录一次Ubuntu 20.04 编译安装 ibus-libpinyin

2022-04-18 04:00:05  阅读:45  来源: 互联网

标签:sudo -- libpinyin ibus apt dev Ubuntu


记录一次Ubuntu 20.04 编译安装 ibus-libpinyin

1. 卸载 ibus-libpinyin

记得备份词库

sudo apt-get --purge remove ibus-libpinyin

sudo apt-get autoremove

2. 安装依赖

sudo apt install gnome-common build-essential git autogen

sudo apt install libibus-1.0-dev libsqlite3-dev sqlite3 libdb-dev libpinyin13-dev libsoup2.4-dev libjson-glib-dev

3.下载源码

mkdir /tmp/libpinyin
cd /tmp/libpinyin
git clone https://github.com/libpinyin/ibus-libpinyin.git
cd /tmp/libpinyin/ibus-libpinyin

4. 编译安装

./autogen.sh --prefix=/usr --enable-cloud-input-mode  # 启用云拼音输入
make
sudo make install

5. 卸载依赖

sudo apt purge --auto-remove libibus-1.0-dev libsqlite3-dev sqlite3 libdb-dev libpinyin13-dev libsoup2.4-dev libjson-glib-dev

成品

image-20220418034845928

image-20220418034956867

image-20220418035020544

image-20220418035047160

image-20220418035116071

标签:sudo,--,libpinyin,ibus,apt,dev,Ubuntu
来源: https://www.cnblogs.com/jwyqn/p/16158084.html

专注分享技术,共同学习,共同进步。侵权联系[admin#icode9.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有