安迪老大

菩提本无树,明镜亦非台,本来无一物,何处惹尘埃 。

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

sudo  su

1.更新源 

vi    /etc/apt/sources.list

  注销原内容,添加下面代码后输入wq! 保存 :

#中科大
deb <http://mirrors.ustc.edu.cn/kali> kali-rolling main non-free contrib
deb-src shttp://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://mirrors.163.com/debian/> jessie main non-free contrib
deb <http://mirrors.163.com/debian/> jessie-updates main non-free contrib
deb <http://mirrors.163.com/debian/> jessie-backports main non-free contrib
deb-src <http://mirrors.163.com/debian/> jessie main non-free contrib
deb-src <http://mirrors.163.com/debian/> jessie-updates main non-free contrib
deb-src <http://mirrors.163.com/debian/> jessie-backports main non-free contrib
deb <http://mirrors.163.com/debian-security/> jessie/updates main non-free contrib
deb-src <http://mirrors.163.com/debian-security/> jessie/updates main non-free contrib

2.更新

sudo apt-get update && sudo apt-get upgrade && sudo apt-get clean

命令执行可能要等一段时间

3.更新完成后,输入命令 : sudo apt-get install fcitx ,按enter键

4.执行完成后,输入命令: sudo apt-get install fcitx-googlepinyin ,按enter键

5.最后一步输入命令 reboot , 按enter键。

6.重启成功后,按ctrl+空格键,切换输入法。

 

posted on 2022-06-23 12:40  安迪老大  阅读(1406)  评论(0编辑  收藏  举报