kali linux 更新软件源,安装中文输入法

Posted 魚魚

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了kali linux 更新软件源,安装中文输入法相关的知识,希望对你有一定的参考价值。

1. 更新软件源
打开sources.list文件,进行添加更新源:
leafpad /etc/apt/sources.list

2. 添加软件源
#官方源
deb http://http.kali.org/kali kali main non-free contrib
deb-src http://http.kali.org/kali kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free

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

# 上海交大源
deb http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib
deb http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib
deb http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib

#新加坡源
deb http://mirror.nus.edu.sg/kali/kali/ kali main non-free contrib
deb-src http://mirror.nus.edu.sg/kali/kali/ kali main non-free contrib
deb http://mirror.nus.edu.sg/kali/kali-security kali/updates main contrib non-free
deb-src http://mirror.nus.edu.sg/kali/kali-security kali/updates main contrib non-free

#debain源
deb http://mirrors.163.com/debian/ wheezy main contrib
deb http://mirrors.163.com/debian/ wheezy-proposed-updates main contrib
deb-src http://mirrors.163.com/debian/ wheezy main contrib
deb-src http://mirrors.163.com/debian/ wheezy-proposed-updates main contrib

#debian安全更新源
deb http://security.debian.org/ wheezy/updates main contrib
deb-src http://security.debian.org/ squeeze/updates main contrib non-free

#163源的地址
deb-src http://mirrors.163.com/debian-security wheezy/updates main non-free contrib
deb http://mirrors.163.com/debian-security wheezy/updates main non-free contrib
deb http://mirrors.163.com/debian/ wheezy-updates contrib main

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

3. 更新
apt-get update & apt-get upgrade

4. 添加fcitx 输入法
apt-get install fcitx
如果存在依赖关系错误 可以使用apt-get -f install 进行修复 -f 表示fix-brokenapt-get -f install -- 等同于新立得软件包管理器中的“编辑->修正(依赖关系)损毁的软件包

5. 添加谷歌输入法
apt-get install fcitx-googlepinyin

以上是关于kali linux 更新软件源,安装中文输入法的主要内容,如果未能解决你的问题,请参考以下文章

Kali Linux 更新源

Kali Linux 下安装中文版输入法

kali linux如何安装windows软件

Kali Linux安装中文输入法全纪录

Kali 安装 Google 中文输入法

kali-linux常用软件安装