Linux

yum install virtualbox for centos8

Naan 2021. 7. 12. 16:08
320x100

virtualbox 설치 하기 위해서는 repo 를 먼저 설치 해야 한다.

# dnf config-manager --add-repo=https://download.virtualbox.org/virtualbox/rpm/el/virtualbox.repo

설치가 완료 되면 설치를 진행

# dnf install VirtualBox-6.1 -y
Last metadata expiration check: 0:00:13 ago on Mon 12 Jul 2021 03:32:51 PM KST.
Dependencies resolved.
=============================================================================================================================================================================================================================================================================================
 Package                                                                    Architecture                                                  Version                                                                    Repository                                                         Size
=============================================================================================================================================================================================================================================================================================
Installing:
 VirtualBox-6.1                                                             x86_64                                                        6.1.22_144080_el8-1                                                        virtualbox                                                         90 M
Installing dependencies:
 SDL                                                                        x86_64                                                        1.2.15-39.el8                                                              AppStream                                                         218 k
 qt5-qtbase                                                                 x86_64                                                        5.12.5-8.el8                                                               AppStream                                                         3.4 M
 qt5-qtbase-common                                                          noarch                                                        5.12.5-8.el8                                                               AppStream                                                          40 k
 qt5-qtbase-gui                                                             x86_64                                                        5.12.5-8.el8                                                               AppStream                                                         5.8 M
 qt5-qtx11extras                                                            x86_64                                                        5.12.5-1.el8                                                               AppStream                                                          40 k
 xcb-util-image                                                             x86_64                                                        0.4.0-9.el8                                                                AppStream                                                          21 k
 xcb-util-keysyms                                                           x86_64                                                        0.4.0-7.el8                                                                AppStream                                                          16 k
 xcb-util-renderutil                                                        x86_64                                                        0.3.9-10.el8                                                               AppStream                                                          19 k
 xcb-util-wm                                                                x86_64                                                        0.4.1-12.el8                                                               AppStream                                                          32 k

Transaction Summary
=============================================================================================================================================================================================================================================================================================
Install  10 Packages

Total download size: 99 M
Installed size: 227 M
Downloading Packages:
(1/10): qt5-qtbase-common-5.12.5-8.el8.noarch.rpm                                                                                                                                                                                                            1.5 MB/s |  40 kB     00:00
(2/10): SDL-1.2.15-39.el8.x86_64.rpm                                                                                                                                                                                                                         4.5 MB/s | 218 kB     00:00
(3/10): qt5-qtx11extras-5.12.5-1.el8.x86_64.rpm                                                                                                                                                                                                              3.6 MB/s |  40 kB     00:00
(4/10): xcb-util-image-0.4.0-9.el8.x86_64.rpm                                                                                                                                                                                                                2.1 MB/s |  21 kB     00:00
(5/10): xcb-util-keysyms-0.4.0-7.el8.x86_64.rpm                                                                                                                                                                                                              1.6 MB/s |  16 kB     00:00
(6/10): xcb-util-renderutil-0.3.9-10.el8.x86_64.rpm                                                                                                                                                                                                          448 kB/s |  19 kB     00:00
(7/10): xcb-util-wm-0.4.1-12.el8.x86_64.rpm                                                                                                                                                                                                                  2.8 MB/s |  32 kB     00:00
(8/10): qt5-qtbase-5.12.5-8.el8.x86_64.rpm                                                                                                                                                                                                                    16 MB/s | 3.4 MB     00:00
(9/10): qt5-qtbase-gui-5.12.5-8.el8.x86_64.rpm                                                                                                                                                                                                                14 MB/s | 5.8 MB     00:00
(10/10): VirtualBox-6.1-6.1.22_144080_el8-1.x86_64.rpm                                                                                                                                                                                                        29 MB/s |  90 MB     00:03
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                                                                         31 MB/s |  99 MB     00:03
warning: /var/cache/dnf/virtualbox-251a95df6cac77a1/packages/VirtualBox-6.1-6.1.22_144080_el8-1.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 98ab5139: NOKEY
Oracle Linux / RHEL / CentOS-8 / x86_64 - VirtualBox                                                                                                                                                                                                         2.1 kB/s | 1.7 kB     00:00
Importing GPG key 0x98AB5139:
 Userid     : "Oracle Corporation (VirtualBox archive signing key) <info@virtualbox.org>"
 Fingerprint: 7B0F AB3A 13B9 0743 5925 D9C9 5442 2A4B 98AB 5139
 From       : https://www.virtualbox.org/download/oracle_vbox.asc
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                                                                                                     1/1
  Installing       : xcb-util-wm-0.4.1-12.el8.x86_64                                                                                                                                                                                                                                    1/10
  Running scriptlet: xcb-util-wm-0.4.1-12.el8.x86_64                                                                                                                                                                                                                                    1/10
  Installing       : xcb-util-renderutil-0.3.9-10.el8.x86_64                                                                                                                                                                                                                            2/10
  Running scriptlet: xcb-util-renderutil-0.3.9-10.el8.x86_64                                                                                                                                                                                                                            2/10
  Installing       : xcb-util-keysyms-0.4.0-7.el8.x86_64                                                                                                                                                                                                                                3/10
  Running scriptlet: xcb-util-keysyms-0.4.0-7.el8.x86_64                                                                                                                                                                                                                                3/10
  Installing       : xcb-util-image-0.4.0-9.el8.x86_64                                                                                                                                                                                                                                  4/10
  Running scriptlet: xcb-util-image-0.4.0-9.el8.x86_64                                                                                                                                                                                                                                  4/10
  Installing       : qt5-qtbase-common-5.12.5-8.el8.noarch                                                                                                                                                                                                                              5/10
  Installing       : qt5-qtbase-gui-5.12.5-8.el8.x86_64                                                                                                                                                                                                                                 6/10
  Running scriptlet: qt5-qtbase-5.12.5-8.el8.x86_64                                                                                                                                                                                                                                     7/10
  Installing       : qt5-qtbase-5.12.5-8.el8.x86_64                                                                                                                                                                                                                                     7/10
  Running scriptlet: qt5-qtbase-5.12.5-8.el8.x86_64                                                                                                                                                                                                                                     7/10
  Installing       : qt5-qtx11extras-5.12.5-1.el8.x86_64                                                                                                                                                                                                                                8/10
  Installing       : SDL-1.2.15-39.el8.x86_64                                                                                                                                                                                                                                           9/10
  Running scriptlet: SDL-1.2.15-39.el8.x86_64                                                                                                                                                                                                                                           9/10
  Running scriptlet: VirtualBox-6.1-6.1.22_144080_el8-1.x86_64                                                                                                                                                                                                                         10/10
  Installing       : VirtualBox-6.1-6.1.22_144080_el8-1.x86_64                                                                                                                                                                                                                         10/10
  Running scriptlet: VirtualBox-6.1-6.1.22_144080_el8-1.x86_64                                                                                                                                                                                                                         10/10

Creating group 'vboxusers'. VM users must be member of that group!


  Verifying        : SDL-1.2.15-39.el8.x86_64                                                                                                                                                                                                                                           1/10
  Verifying        : qt5-qtbase-5.12.5-8.el8.x86_64                                                                                                                                                                                                                                     2/10
  Verifying        : qt5-qtbase-common-5.12.5-8.el8.noarch                                                                                                                                                                                                                              3/10
  Verifying        : qt5-qtbase-gui-5.12.5-8.el8.x86_64                                                                                                                                                                                                                                 4/10
  Verifying        : qt5-qtx11extras-5.12.5-1.el8.x86_64                                                                                                                                                                                                                                5/10
  Verifying        : xcb-util-image-0.4.0-9.el8.x86_64                                                                                                                                                                                                                                  6/10
  Verifying        : xcb-util-keysyms-0.4.0-7.el8.x86_64                                                                                                                                                                                                                                7/10
  Verifying        : xcb-util-renderutil-0.3.9-10.el8.x86_64                                                                                                                                                                                                                            8/10
  Verifying        : xcb-util-wm-0.4.1-12.el8.x86_64                                                                                                                                                                                                                                    9/10
  Verifying        : VirtualBox-6.1-6.1.22_144080_el8-1.x86_64                                                                                                                                                                                                                         10/10
Installed products updated.

Installed:
  SDL-1.2.15-39.el8.x86_64                VirtualBox-6.1-6.1.22_144080_el8-1.x86_64     qt5-qtbase-5.12.5-8.el8.x86_64      qt5-qtbase-common-5.12.5-8.el8.noarch     qt5-qtbase-gui-5.12.5-8.el8.x86_64     qt5-qtx11extras-5.12.5-1.el8.x86_64     xcb-util-image-0.4.0-9.el8.x86_64
  xcb-util-keysyms-0.4.0-7.el8.x86_64     xcb-util-renderutil-0.3.9-10.el8.x86_64       xcb-util-wm-0.4.1-12.el8.x86_64

Complete!

추가로 패키지도 설치

# wget https://download.virtualbox.org/virtualbox/6.1.6/Oracle_VM_VirtualBox_Extension_Pack-6.1.6.vbox-extpack

# VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-6.1.6.vbox-extpack

라이선스 동의 나오면 Y 눌러주면 된다.

# virtualbox 

구동하면 추가로  패키지 다운 과 동의를 물어본다 확인 누르면

 

 

정상 적으로 설치 동작 된다.

 

320x100