我已经下载了 VirtualBox 并收到此消息:
Could not open the file /home/mike/Downloads/vir...16-105871-Linux_amd64.run.
gedit has not been able to detect the character encoding. Please check that you are not trying to open a binary file. Select a character encoding from the menu and try again.
字符编码有 2 个选项可供选择:
- 当前语言环境 (UTF-8)
- 西方 (ISO-8859-15)
两者都未检测到。我尝试运行该文件,并最初更改文件属性以允许从 cmd 执行:
chmod +x filename
我正在运行 Linux Mint 17.3 Cinnamon 64 位。我在这里需要 gedit 吗?
答案1
您到底想在这里做什么?您有一个 VirtualBox 的可执行文件。为什么涉及 gedit 和 Vagrant?
您真正能对 .run 文件做的事情就是运行它。
打开终端并输入:
./VirtualBox-5.0.16-105871-Linux_amd64.run
答案2
@Tom Yan 谢谢,但出于某种原因,我无法在这里发表评论。我尝试过在它的完整路径中运行它,并使用位于管理中的包管理器。我的问题是,我安装了 Vagrant,当我输入:
vagrant up
我收到以下消息:
No usable default provider could be found for your system.
Vagrant relies on interactions with 3rd party systems, known as "providers", to provide Vagrant with resources to run development environments. Examples are VirtualBox, VMWare, Hyper-V.
The easiest solution to this message is to install VirtualBox, which is available for free on all major platforms.
我试过:
vagrant up --provider=PROVIDER
我收到以下消息:
The provider 'PROVIDER' could not be found, but was requested to back the machine 'default'. Please use a provider that exists.