0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

[01] VirtualBox 5.2 系のインストール手順

Last updated at Posted at 2021-08-28
本シリーズのトップページ
[シリーズ] VirtualBox のインストールについて

概要

Ubuntu 18.04 に VirtualBox 5.2 系をインストールする手順である.
また、2021/05 時点で Vagrant 2.2.14 が使用可能なことも確認している.

2021/05 時点では VirtualBox 6.1.X 系を使うと Vagrant が使えなかったので、
VirtualBox 5.2 系をインストールした.

物理ホスト環境

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS"

手順

1. インストール候補の VirtualBox のバージョンを確認する

$ sudo apt list virtualbox -a
一覧表示... 完了
virtualbox/bionic-updates 5.2.42-dfsg-0~ubuntu1.18.04.1 amd64
virtualbox/bionic-security 5.2.18-dfsg-2~ubuntu18.04.5 amd64
virtualbox/bionic 5.2.10-dfsg-6 amd64

2. VirtualBox をインストールする

当方の場合は、約 5分ほど要した.

$ sudo apt install -y virtualbox

もしもセキュアブート用のキーが指定されれば適当に決めておくこと.
ここでは「abc123」としておく.

PC を再起動させると(下図のような)青画面になるので、
「Enroll key」から abc123 と入力すれば良い.
image.png

3. インストールされたことを確認する

$ virtualbox --help
Oracle VM VirtualBox Manager 5.2.42_Ubuntu
(C) 2005-2020 Oracle Corporation
All rights reserved.

以上.

このあと、VirtualBox の操作性を上げるために Vagrant を導入する.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?