kali linux下安装搜狗输入法

1. 下载输入法:点击进入官网下载页面

2. 更新软件源 :sudo leafpad /etc/apt/sources.list   会打开一个文本文档,将下列代码复制到末尾保存即可

               (这是在网上搜集来的源,不能用的话请另寻其他源)

PS:有些源可能因为签名原因被是默认禁用安全更新了,在百度上搜索找到了:一位大佬的答案  

执行命令:sudo leafpad /etc/apt/apt.conf.d/70debconf   ,打开一个文本文档,在末尾添加:

Acquire::AllowInsecureRepositories “true”;   然后保存,记得符号是全英文!!!  

#中科大
deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib

#阿里云
#deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
#deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib

#清华大学
#deb http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
#deb-src https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free

#浙大
#deb http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free
#deb-src http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free

#东软大学
#deb http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib
#deb-src http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib

#官方源
#deb http://http.kali.org/kali kali-rolling main non-free contrib
#deb-src http://http.kali.org/kali kali-rolling main non-free contrib

#重庆大学
#deb http://http.kali.org/kali kali-rolling main non-free contrib
#deb-src http://http.kali.org/kali kali-rolling main non-free contrib

3. 更新软件包列表:sudo apt-get update && apt-get upgrade

4. 强制更新:sudo apt-get dist-upgrade (可以省略这一步)

5. 安装fcitx输入法框架:sudo apt-get install fcitx     (如果提示有依赖包文件没有安装,输入命令:

sudo apt-get install 软件包名字) (了解fcitx点击:fcitx百度百科)

6. dpkg -i  /home/sogoupinyin_2.2.0.0108_amd64.deb  (我的安装包文件放在/home目录下,因人而异,请自行修改目录)

你可能感兴趣的:(kali linux下安装搜狗输入法)