
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.