総数:9 今日:1 昨日:0

もくじ

参考URL Option 3: Install VirtualBox Using a .deb File

Ubuntuのバージョン等を確認してみる

~$ cat /etc/os-release
PRETTY_NAME="Ubuntu 24.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.2 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo

noble だ。

Step 1: Download .deb File

To start the installation, download the .deb file from the VirtualBox website.
Take the following steps:

1. Go to the VirtualBox Download page.

2. Click the Linux distributions link.

3. Find the download link for the current Linux version. In this example, it is Ubuntu 24.04.

4. Click the link for Ubuntu 24.04 and wait for the download to finish.

Note where the file is saved, as it is needed in the next step.

In this example, the file is downloaded to the Downloads directory.

~$ ls -la Downloads/
合計 105572
drwxr-xr-x  2 ryu ryu      4096  5月 27 15:03 .
drwxr-x--- 19 ryu ryu      4096  5月 27 14:40 ..
-rw-rw-r--  1 ryu ryu 108093464  5月 27 15:03 virtualbox-7.1_7.1.8-168469~Ubuntu~noble_amd64.deb

Step 2: Install .deb Package

To install the .deb package:

1. Navigate to the directory where the package is downloaded.

In this case, it is the Downloads directory. Use the cd command:

~$ cd ~/Downloads/

2. Use the dpkg command to install the .deb file from the Downloads directory.

The syntax is:

sudo dpkg -i [archive-name].deb

In this example, the command is:

~/Downloads$ sudo dpkg -i virtualbox-7.1_7.1.8-168469~Ubuntu~noble_amd64.deb
以前に未選択のパッケージ virtualbox-7.1 を選択しています。
(データベースを読み込んでいます ... 現在 217354 個のファイルとディレクトリがインストールされています。)
virtualbox-7.1_7.1.8-168469~Ubuntu~noble_amd64.deb を展開する準備をしています ...
virtualbox-7.1 (7.1.8-168469~Ubuntu~noble) を展開しています...
virtualbox-7.1 (7.1.8-168469~Ubuntu~noble) を設定しています ...
info: グループ `vboxusers' はシステムグループとしてすでに存在しています。終了します。
desktop-file-utils (0.27-2build1) のトリガを処理しています ...
gnome-menus (3.36.0-1.1ubuntu3) のトリガを処理しています ...
hicolor-icon-theme (0.17-2) のトリガを処理しています ...
shared-mime-info (2.4-4) のトリガを処理しています ...

Step 3: Verify the Installation

~/Downloads$ VBoxManage --version
7.1.8r168469

Step 4: Install VirtualBox Extension Pack

1. Go to the VirtualBox Download page.

2. Click the Linux distributions link.

3. Find the download link for the current Linux version. In this example, it is Ubuntu 24.04.


トップ   一覧 単語検索 最終更新   ヘルプ   最終更新のRSS