kali install fcitx

时间:2021-06-19 11:53:20

1 卸载fcitx相关软件包

如果系统安装了fcitx相关东西,需要卸载,因为源的fcitx版本太低.请谨慎,后果自负.

apt-get purge fcitx-*

2 手动下载最新的fcitx软件包

手动麻烦,且安装顺序有依赖,上个脚本.

#!/bin/bash
#
# The MIT License (MIT)
# Copyright (c) 2014 fishcried(tianqing.w@gmail.com)
# pkgs="fcitx-libs_4.2.8.4-3~bpo70+1_amd64.deb \
fcitx-libs-qt_4.2.8.4-3~bpo70+1_amd64.deb \
fcitx-bin_4.2.8.4-3~bpo70+1_amd64.deb \
fcitx-data_4.2.8.4-3~bpo70+1_all.deb \
fcitx-modules_4.2.8.4-3~bpo70+1_amd64.deb \
fcitx-module-dbus_4.2.8.4-3~bpo70+1_amd64.deb \
fcitx-module-kimpanel_4.2.8.4-3~bpo70+1_amd64.deb \
fcitx-module-lua_4.2.8.4-3~bpo70+1_amd64.deb \
fcitx-module-x11_4.2.8.4-3~bpo70+1_amd64.deb \
fcitx_4.2.8.4-3~bpo70+1_all.deb \
fcitx-tools_4.2.8.4-3~bpo70+1_amd64.deb \
fcitx-ui-classic_4.2.8.4-3~bpo70+1_amd64.deb " ftpaddr="http://ftp.debian.org/debian/pool/main/f/fcitx" for pkg in $pkgs
do
echo "wget $ftpaddr/$pkg && dpkg -i $pkg "
done #dpkg -i $1

3  安装完后还有依赖:

apt-get install -f
fcitx-table-wubi
apt-get install fcitx-table-wubi fcitx-frontend-all

4  安装图形界面的配置工具:

apt-get install fcitx-config-gtk2

.