当前位置:网站首页>树莓派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操作了。
边栏推荐
- 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
- Pallet management in SAP SD delivery process
- Proteus -- Serial Communication parity flag mode
- 雲上有AI,讓地球科學研究更省力
- Attributeerror: can 't get attribute' sppf 'on < module' models. Common 'from' / home / yolov5 / Models / comm
- MySQL high frequency interview 20 questions, necessary (important)
- AttributeError: Can‘t get attribute ‘SPPF‘ on <module ‘models.common‘ from ‘/home/yolov5/models/comm
- Bio model realizes multi person chat
- [brush questions] how can we correctly meet the interview?
- At the age of 26, I changed my career from finance to software testing. After four years of precipitation, I have been a 25K Test Development Engineer
猜你喜欢

Proteus -- Serial Communication parity flag mode

基于PyTorch和Fast RCNN快速实现目标识别

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

Introduction to ros2 installation and basic knowledge

Windows Server 2016 standard installing Oracle

leetcode1020. 飞地的数量(中等)

Practical guidance for interface automation testing (Part I): what preparations should be made for interface automation

leetcode704. 二分查找(查找某个元素,简单,不同写法)

What is the biggest problem that fresh e-commerce is difficult to do now

这个高颜值的开源第三方网易云音乐播放器你值得拥有
随机推荐
顶测分享:想转行,这些问题一定要考虑清楚!
ROS2安装及基础知识介绍
【服务器数据恢复】IBM服务器raid5两块硬盘离线数据恢复案例
基于PyTorch和Fast RCNN快速实现目标识别
GET 和 POST 请求类型的区别
When my colleague went to the bathroom, I helped my product sister easily complete the BI data product and got a milk tea reward
Apache DolphinScheduler源码分析(超详细)
[daily question] 729 My schedule I
指尖上的 NFT|在 G2 上评价 Ambire,有机会获得限量版收藏品
软件测试外包到底要不要去?三年真实外包感受告诉你
Hydra common commands
Visitor tweets about how you can layout the metauniverse
L'Ia dans les nuages rend la recherche géoscientifique plus facile
MySQL high frequency interview 20 questions, necessary (important)
Librosa audio processing tutorial
After sharing the clone remote project, NPM install reports an error - CB () never called! This is an error with npm itself.
Bitcoinwin (BCW): 借贷平台Celsius隐瞒亏损3.5万枚ETH 或资不抵债
Leetcode daily question (1870. minimum speed to arrive on time)
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
Setting and using richview trvstyle template style