小编Muh*_*dri的帖子

无法使用 apt-get 安装 vim

sudo apt-get install vim

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package vim is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'vim' has no installation candidate
Run Code Online (Sandbox Code Playgroud)

我试过sudo apt-get update && sudo apt-get upgrade没有效果,同样的问题。

我刚刚安装了 Ubuntu。vim 可以工作,但按下箭头键时会打印 ABCD。

# deb cdrom:[Ubuntu 13.04 _Raring Ringtail_ - Release amd64 (20130424)]/ raring main restricted

# See …
Run Code Online (Sandbox Code Playgroud)

installation vim

13
推荐指数
2
解决办法
9万
查看次数

./ 1.cpp 命令给出错误:bash: ./: Is a directory

vi 1.cpp 我编写我的 C++ 程序之后。

g++ 1.cpp -o 1.out
Run Code Online (Sandbox Code Playgroud)

工作正常。但

./ 1.out
Run Code Online (Sandbox Code Playgroud)

给出错误:bash:./:是一个目录

g++

2
推荐指数
1
解决办法
3647
查看次数

标签 统计

g++ ×1

installation ×1

vim ×1