具体的方法可以参考:http://www.cnblogs.com/zhj5chengfeng/archive/2013/06/23/3150620.html
下面是安装时遇到的两个问题:
1、
命令:
sudo apt-get install ibus-googlepinyin
问题:
解决:
yzh@yzh:work$ sudo rm /var/cache/apt/archives/lock
yzh@yzh:work$ sudo rm /var/lib/dpkg/lock
============================================================
2、
命令:
ibus-setup
问题:
(process:2553): Gtk-WARNING **: Locale not supported by C library.
Using the fallback ‘C‘ locale.
Traceback (most recent call last):
File "/usr/share/ibus/setup/main.py", line 582, in <module>
locale.setlocale(locale.LC_ALL, ‘‘)
File "/usr/lib/python2.7/locale.py", line 539, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
解决:
sudo locale-gen
原文地址:http://blog.csdn.net/yuzhihui_no1/article/details/46433233