当前位置:网站首页>树莓派3B更新vim
树莓派3B更新vim
2022-07-06 06:58:00 【LJX】
在更新vim时我们知道输入sudo apt-get install vim后更新的国外的源,会导致安装失败,因此我们需要安装国内可用的镜像源。

方法如下:
1. 输入命令:sudo nano /etc/apt/sources.list
2.用#注释或直接删除原有的内容,新增以下一条
deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ stretch main contrib non-free rpi
3.ctrl+o 保存 ctrl+x退出
4.源安装完后更新一下,输入命令:sudo apt-get update

5.安装新版vim,输入命令:sudo apt-get install vim
之后就可以在树莓派中使用vi操作了。
边栏推荐
- Attributeerror successfully resolved: can only use cat accessor with a ‘category‘ dtype
- MySQL high frequency interview 20 questions, necessary (important)
- 《从0到1:CTFer成长之路》书籍配套题目(周更)
- LeetCode 78:子集
- Bio model realizes multi person chat
- Applied stochastic process 01: basic concepts of stochastic process
- The registration password of day 239/300 is 8~14 alphanumeric and punctuation, and at least 2 checks are included
- 成功解决TypeError: data type ‘category‘ not understood
- LeetCode Algorithm 2181. 合并零之间的节点
- 基于PyTorch和Fast RCNN快速实现目标识别
猜你喜欢

Chapter 7 - thread pool of shared model

Top test sharing: if you want to change careers, you must consider these issues clearly!

Introduction and underlying analysis of regular expressions

同事上了个厕所,我帮产品妹子轻松完成BI数据产品顺便得到奶茶奖励

18. Multi level page table and fast table

Missing monitoring: ZABBIX monitors the status of Eureka instance

Prefix and array series

L'Ia dans les nuages rend la recherche géoscientifique plus facile

RichView TRVStyle 模板样式的设置与使用

After working for 10 years, I changed to a programmer. Now I'm 35 + years old and I'm not anxious
随机推荐
Supporting title of the book from 0 to 1: ctfer's growth road (Zhou Geng)
leetcode6109. 知道秘密的人数(中等,周赛)
UNIPRO Gantt chart "first experience": multi scene exploration behind attention to details
Missing monitoring: ZABBIX monitors the status of Eureka instance
Redis Foundation
Entity Developer数据库应用程序的开发
Automated test environment configuration
Kubernetes cluster builds ZABBIX monitoring platform
The difference between get and post request types
pymongo获取一列数据
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
leetcode1020. 飞地的数量(中等)
Huawei equipment configuration ospf-bgp linkage
顶测分享:想转行,这些问题一定要考虑清楚!
[advanced software testing step 1] basic knowledge of automated testing
MySQL high frequency interview 20 questions, necessary (important)
After working for 10 years, I changed to a programmer. Now I'm 35 + years old and I'm not anxious
Every API has its foundation when a building rises from the ground
After sharing the clone remote project, NPM install reports an error - CB () never called! This is an error with npm itself.
同事上了个厕所,我帮产品妹子轻松完成BI数据产品顺便得到奶茶奖励