在Minix 3.1.8中安装VIM [英] Installing VIM in Minix 3.1.8

查看:259
本文介绍了在Minix 3.1.8中安装VIM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经对此进行了1000次Google搜索,但就我的一生而言,我无法让VIM在我的Minix 3上运行.记录下来,我运行在Windows计算机上,而Minix 3在Oracle VM VirtualBox上运行.

I've Googled this a thousand times and I cannot, for the life of me, get VIM to work on my Minix 3. For the record, I am running on a Windows machine with Minix 3 working on Oracle's VM VirtualBox.

我尝试输入

# pkgin up && pkgin in vim 

但是我得到了错误:

pkgin: Can't open database /usr/var/db/pkgin/pkgin.db: unable to open database file: No such file or directory

然后我尝试执行pkgin search git来搜索软件包,但出现相同的错误.这可能是某种Internet连接问题吗?我非常困惑.

I then try to do pkgin search git to search for a package, but I get the same error. Could this be some kind of Internet connection issue? I'm incredibly confused.

推荐答案

我在Minix 3 Google网上论坛上提问,他们解决了我的问题.如果有人遇到麻烦,我要粘贴莱昂内尔(Lionel)的回复:

I asked on the Minix 3 Google Groups Forums and they solved my problem. If anyone else has trouble, I'm pasting a response by Lionel:

通过编辑"/usr/pkg/etc/pkgin/repositories.conf"切换到http下载并注释掉以下行: ftp://ftp.minix3.org/pub/minix/packages/ $ osrelease/$ arch/All

Switch to http downloads by editing "/usr/pkg/etc/pkgin/repositories.conf" and comment out the line: ftp://ftp.minix3.org/pub/minix/packages/$osrelease/$arch/All

并添加以下内容:

http://www.minix3.org/pkgsrc/packages/ $ osrelease/$ arch/全部

http://www.minix3.org/pkgsrc/packages/$osrelease/$arch/All

然后执行关机,引导,pkgin更新,然后安装所需的软件包.

Then do shutdown, boot, pkgin update and then install your desired packages.

这篇关于在Minix 3.1.8中安装VIM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆