centos 6.4 32  笔记

一、安装gcc
yum install gcc    ================================================================================
 Package                Arch         Version                 Repository    Size
================================================================================
Installing:
 gcc                    i686         4.4.7-4.el6             base         8.2 M
Installing for dependencies:
 cloog-ppl              i686         0.15.7-1.2.el6          base          93 k
 cpp                    i686         4.4.7-4.el6             base         3.4 M
 glibc-devel            i686         2.12-1.132.el6          base         978 k
 glibc-headers          i686         2.12-1.132.el6          base         616 k
 kernel-headers         i686         2.6.32-431.el6          base         2.8 M
 mpfr                   i686         2.4.1-6.el6             base         153 k
 ppl                    i686         0.10.2-11.el6           base         1.3 M
Updating for dependencies:
 glibc                  i686         2.12-1.132.el6          base         4.3 M
 glibc-common           i686         2.12-1.132.el6          base          14 M
 libgcc                 i686         4.4.7-4.el6             base         112 k
 libgomp                i686         4.4.7-4.el6             base         121 k

二、编译安装 python2.7.6
下载:python2.7.6.tar.xz
解压:tar -Jxvf python***
cd python dir
编译安装:
./configure
make all
make install
make clean
make distclean

3.安装ibus
yum install ibus

4.重新设置iubs,
vi /usr/bin/ibus-setup
exec python 改为 exec python2.6

vi /usr/libexec/ibus-ui-gtk
exec python 改为 exec python2.6

select pinyin
System>Preferences>Input method

05-11 03:20