树莓派更换国内源、安装vim、中文输入法、B

更换国内源(中科大)

sudo -s
echo -e "deb http://mirrors.ustc.edu.cn/raspbian/raspbian/ stretch main contrib non-free rpi \n deb-src http://mirrors.ustc.edu.cn/raspbian/raspbian/ stretch main contrib non-free rpi" > /etc/apt/sources.list
echo -e "deb http://mirrors.ustc.edu.cn/archive.raspberrypi.org/ stretch main ui" > /etc/apt/sources.list.d/raspi.list
exit
sudo apt update && sudo apt -y upgrade

其他源

中山大学 Raspbian http://mirror.sysu.edu.cn/raspbian/raspbian/
清华大学 Raspbian http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/
华中科技大学 Raspbian http://mirrors.hustunique.com/raspbian/raspbian/ Arch
Linux ARM http://mirrors.hustunique.com/archlinuxarm/
大连东软信息学院源(北方用户) Raspbian 
http://mirrors.neusoft.edu.cn/raspbian/raspbian/
重庆大学源(中西部用户) Raspbian http://mirrors.cqu.edu.cn/Raspbian/raspbian/

安装vim

sudo apt-get install -y vim

如果出现vim : 依赖: vim-common (= 2:7.3.547-7+deb7u4) 但是 2:8.0.0197-4+deb9u1 正要被安装
则先卸载vim-common再安装vim

sudo apt-get remove vim-common
sudo apt-get install -y vim

中文输入法

sudo apt-get install -y ttf-wqy-zenhei
sudo apt-get install -y scim-pinyin

安装Berryconda

https://github.com/jjhelmus/berryconda

下载Berryconda3-2.0.0-Linux-armv7l.sh
在文件路径下

chmod +x Berryconda3-2.0.0-Linux-armv7l.sh
./Berryconda3-2.0.0-Linux-armv7l.sh

其基本操作与Anaconda一致。

  • 5
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值