kali linux下安装搜狗输入法

一. 更新源:

  1. 终端中输入:leafpad /etc/apt/sources.list 进入sources.list文件。
  2. 修改sources.list文件源保存并退出:

    #kali官方源
    deb http://http.kali.org/kali kali-rolling main non-free contrib
    #中科大的源
    deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
    deb http://mirrors.ustc.edu.cn/kali kali-rolling main contrib non-free
    deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main contrib non-free
    deb http://mirrors.ustc.edu.cn/kali-security kali-current/updates main contrib non-free
    deb-src http://mirrors.ustc.edu.cn/kali-security kali-current/updates main contrib non-free
    #阿里云源
    deb http://mirrors.aliyun.com/kali sana main non-free contrib
    deb http://mirrors.aliyun.com/kali-security/ sana/updates main contrib non-free
    deb-src http://mirrors.aliyun.com/kali-security/ sana/updates main contrib non-free
    #
    deb http://ppa.launchpad.net/hzwhuang/ss-qt5/ubuntu xenial main
  3. 更新源apt-get update
  4. 安装 fcitx:apt-get install fcitx
  5. 安装 fcitx-libs-qt apt-get install fcitx-libs-qt

二. 安装搜狗输入法

  1. http://pinyin.sogou.com/linux/中下载对应版本号的搜狗输入法
  2. 安装搜狗输入法
    • . 进入下载目录cd ~/下载/
    • . 安装 dpkg -i sogo安装包文件名

三. 启用搜狗输入法

  1. 终端输入im-config
  2. 进入输入法配置,选择确定点击是,在弹出来的输入法选择框中选择 fcitx,然后确定。
  3. 注销账号,重新登录,然后右上角有个键盘图标,点击选择【设置】,在左下角点击【+】新增输入法 ;在弹出窗口中取消“仅显示当前预览”复选框,然后搜索 Sogou, 找到搜狗输入法,点击 OK

icon_mrgreen.gificon_neutral.gificon_twisted.gificon_arrow.gificon_eek.gificon_smile.gificon_confused.gificon_cool.gificon_evil.gificon_biggrin.gificon_idea.gificon_redface.gificon_razz.gificon_rolleyes.gificon_wink.gificon_cry.gificon_surprised.gificon_lol.gificon_mad.gificon_sad.gificon_exclaim.gificon_question.gif