Centos6.5 install fcitx4.0.0
Go to http://download.fcitx-im.org/fcitx/ to download.
Note: The reason why I didn't download the latest version is that my cmake version is too low. In some libraries, it is difficult to configure idea to be downloaded and put under/data/table and/data)
1. Delete ibus first.
# yum remove ibus
2. Install intltool. In this case, the Web Client is installed after downloading and has many dependencies. I directly installed the tool in yum.
# yum install intltool
3. A libtoolize is missing during subsequent compilation.
# yum install libtool
4. The preparation is complete. Download now. Here: Prepare"
# ./autogen.sh
5. Compile the SDK after it is generated.
# ./configure
6. make and make install
# Make without Xrender install Oct 26 19:36:18 Installed: libXrender-devel-0.9.7-2.el6.i686 can view my following yum log file # make install
ConfigurationFcitx is the default input method.
1. Create a configuration fileVim/Etc/X11/xinit/xinput. d/fcitx. conf. The content is as follows:
XIM = fcitx
XIM_PROGRAM =/usr/local/Bin/Fcitx # Make sure this file exists
XIM_ARGS = "-D" # uppercase D
SHORT_DESC = "Fcitx"
GTK_IM_MODULE = xim
QT_IM_MODULE = xim
2. In the/etc/alternatives/directory, delete the symbolic link xinputrc and recreate it:
Mv/etc/alternatives/xinputrc. bak
Rm-rf/etc/alternatives/xinputrc
Ln-s/etc/X11/xinit/xinput. d/fcitx. conf/etc/alternatives/xinputrc
Note: If you useDesktopIt is an English environment, and you also need to use the user directory.BashAdd the following content to the rc configuration file:
Export LANG = zh_CN.UTF-8 ″
Export LC_CTYPE = "zh_CN.UTF-8 ″
Export XIM = fcitx
Export XIM_PROGRAM = fcitx
Export GTK_IM_MODULE = xim
Export XMODIFIERS = "@ im = fcitx"
In the system, set fcitx as the default input method in the preference input method, and log out and log on again.
NOTE: If your input method is installed, you cannot press ctrl + space to execute other operations, because you still lack a library file.
Yum install gtk2-immodule-xim
This is my yum. log File (under/var/log/yum. log ):
Oct 26 19:26:00 Erased: ibus-table-cangjie
Oct 26 19:26:02 Erased: ibus-chewing
Oct 26 19:26:03 Erased: ibus-table-erbi
Oct 26 19:26:03 Erased: ibus-anthy
Oct 26 19:26:04 Erased: ibus-hangul
Oct 26 19:26:05 Erased: ibus-table-additional
Oct 26 19:26:06 Erased: ibus-sayura
Oct 26 19:26:06 Erased: ibus-qt
Oct 26 19:26:07 Erased: ibus-table-wubi
Oct 26 19:26:08 Erased: ibus-table
Oct 26 19:26:09 Erased: ibus-pinyin
Oct 26 19:26:10 Erased: ibus-rawcode
Oct 26 19:26:11 Erased: ibus-m17n
Oct 26 19:26:11 Erased: ibus-gtk
Oct 26 19:26:12 Erased: ibus
Oct 26 19:27:40 Installed: perl-URI-1.40-2.el6.noarch
Oct 26 19:27:41 Installed: perl-IO-Compress-Base-2.021-136.el6.i686
Oct 26 19:27:41 Installed: 1: perl-Compress-Raw-Zlib-2.021-136.el6.i686
Oct 26 19:27:44 Installed: perl-IO-Compress-Zlib-2.021-136.el6.i686
Oct 26 19:27:45 Installed: perl-Compress-Zlib-2.021-136.el6.i686
Oct 26 19:27:45 Installed: perl-HTML-Tagset-3.20-4.el6.noarch
Oct 26 19:27:46 Installed: perl-HTML-Parser-3.64-2.el6.i686
Oct 26 19:27:48 Installed: perl-libwww-perl-5.833-2.el6.noarch
Oct 26 19:27:49 Installed: perl-XML-Parser-2.36-7.el6.i686
Oct 26 19:27:50 Installed: gettext-libs-0.17-16.el6.i686
Oct 26 19:27:54 Installed: libgcj-4.4.7-4.el6.i686
Oct 26 19:27:55 Installed: gettext-devel-0.17-16.el6.i686
Oct 26 19:27:56 Installed: intltool-0.41.0-1.1.el6.noarch
Oct 26 19:36:18 Installed: libXrender-devel-0.9.7-2.el6.i686
Oct 26 19:37:49 Installed: freetype-devel-2.3.11-14.el6_3.1.i686
Oct 26 19:37:50 Installed: fontconfig-devel-2.8.0-3.el6.i686
Oct 26 19:37:51 Installed: 2: libpng-devel-1.2.49-1.el6_2.i686
Oct 26 19:37:52 Installed: pixman-devel-0.26.2-5.1.el6_5.i686
Oct 26 19:37:53 Installed: cairo-devel-1.8.8-3.1.el6.i686
Oct 26 19:39:21 Installed: libXft-devel-2.3.1-2.el6.i686
Oct 26 19:39:22 Installed: glib2-devel-2.26.1-7.el6_5.i686
Oct 26 19:39:24 Installed: pango-devel-1.28.1-7.el6_3.i686
Reference:
Http://www.ienter.org/html/2013/07/119.html
Http://www.07net01.com/linux/centOS6_4_anzhuang_fcitx4_0_151181_1365399650.html