Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Detailed steps on how to install Virtual Box in a Linux system

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly shows you "how to install Virtual Box in the Linux system detailed steps", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "how to install Virtual Box in the Linux system detailed steps" this article.

When you try to install Kyma on a Linux server, you encounter the following error message:

E1009 23:51:37.685891 358 start.go:174] Error starting host: Error creating host: Error executing step: Running precreate checks.

: VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path.

Retrying.

E1009 23:51:37.686942 358 start.go:180] Error starting host: Error creating host: Error executing step: Running precreate checks.

: VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path

=

An error has occurred. Would you like to opt in to sending anonymized crash

Information to minikube to help prevent future errors?

To opt out of these messages, run the command:

Minikube config set WantReportErrorPrompt false

=

Please enter your response [Y/n]:

As prompted, I need to install Virtual Box first.

VirtualBox is an open source virtual machine software. VirtualBox is a software developed by the German company Innotek and produced by the company Sun Microsystems, written in Qt, and officially renamed to Oracle VM VirtualBox after Sun was acquired by Oracle. Innotek releases VirtualBox as GNU General Public License (GPL) and provides binary and OSE versions of the code. Users can install and execute Solaris, Windows, DOS, Linux, OS/2 Warp, BSD and other systems as client operating systems on VirtualBox. It is now being developed by Oracle as part of Oracle's xVM virtualization platform technology.

This url provides the installation of Virtual Box:

Https://www.virtualbox.org/wiki/Linux_Downloads

After entering, download the corresponding installation package according to the different types of Linux:

Because I am using Oracle RHEL, I use the installation instructions in the RPM-based Linux distributions area:

1. First download the oracle_vbox.asc file to your local location:

Wget-Q https://www.virtualbox.org/download/oracle_vbox.asc

Then execute the import:

Sudo rpm-import oracle_vbox.asc

2. Cd enters the directory: / etc/yum.repos.d

Create a new file virtualbox.repo and enter the following:

1 [virtualbox]

2 name=Oracle Linux / RHEL / CentOS-basearch-VirtualBox

3 baseurl= http://download.virtualbox.org/virtualbox/rpm/el/

Basearch

4 enabled=1

5 gpgcheck=1

6 repo_gpgcheck=1

7 gpgkey= https://www.virtualbox.org/download/oracle_vbox.asc

Then execute the command line yum install VirtualBox-5.2:

The printed Fingerprint is the same as on the website: 7B0F AB3A 13B9 0743 5925 D9C9 5442 2A4B 98AB 5139

Select Y:

Yum handles and downloads dependencies:

Dependency analysis calculation results: there are more than 25 dependency packages to download, a total of 80m need to download, the installation size is 182m. Select Y to continue:

Loaded plugins: product-id, search-disabled-repos, subscription-manager

This system is not registered with an entitlement server. You can use subscription-manager to register.

Virtualbox/7Server/x86_64/signature | 181B 00:00:00

Retrieving key from https://www.virtualbox.org/download/oracle_vbox.asc

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

Is this ok [y/N]: y

Virtualbox/7Server/x86_64/signature | 2.9 kB 00:00:40!

Virtualbox/7Server/x86_64/primary_db | 107 kB 00:00:01

Resolving Dependencies

-> Running transaction check

-> Package VirtualBox-5.2.x86_64 0:5.2.18_124319_el7-1 will be installed

Processing Dependency: libpng15.so.15 (PNG15_0) (64bit) for package: VirtualBox-5.2-5.2.18_124319_el7-1.x86_64

Processing Dependency: libpng15.so.15 () (64bit) for package: VirtualBox-5.2-5.2.18_124319_el7-1.x86_64

Processing Dependency: libICE.so.6 () (64bit) for package: VirtualBox-5.2-5.2.18_124319_el7-1.x86_64

Processing Dependency: libfontconfig.so.1 () (64bit) for package: VirtualBox-5.2-5.2.18_124319_el7-1.x86_64

Processing Dependency: libXt.so.6 () (64bit) for package: VirtualBox-5.2-5.2.18_124319_el7-1.x86_64

Processing Dependency: libxcb.so.1 () (64bit) for package: VirtualBox-5.2-5.2.18_124319_el7-1.x86_64

Processing Dependency: libGL.so.1 () (64bit) for package: VirtualBox-5.2-5.2.18_124319_el7-1.x86_64

Processing Dependency: libXinerama.so.1 () (64bit) for package: VirtualBox-5.2-5.2.18_124319_el7-1.x86_64

Processing Dependency: libvpx.so.1 () (64bit) for package: VirtualBox-5.2-5.2.18_124319_el7-1.x86_64

Processing Dependency: libXmu.so.6 () (64bit) for package: VirtualBox-5.2-5.2.18_124319_el7-1.x86_64

Processing Dependency: libopus.so.0 () (64bit) for package: VirtualBox-5.2-5.2.18_124319_el7-1.x86_64

Processing Dependency: libSM.so.6 () (64bit) for package: VirtualBox-5.2-5.2.18_124319_el7-1.x86_64

Processing Dependency: libXrender.so.1 () (64bit) for package: VirtualBox-5.2-5.2.18_124319_el7-1.x86_64

Processing Dependency: libX11-xcb.so.1 () (64bit) for package: VirtualBox-5.2-5.2.18_124319_el7-1.x86_64

Processing Dependency: libSDL-1.2.so.0 () (64bit) for package: VirtualBox-5.2-5.2.18_124319_el7-1.x86_64

Processing Dependency: libXcursor.so.1 () (64bit) for package: VirtualBox-5.2-5.2.18_124319_el7-1.x86_64

Processing Dependency: libX11.so.6 () (64bit) for package: VirtualBox-5.2-5.2.18_124319_el7-1.x86_64

Processing Dependency: libXext.so.6 () (64bit) for package: VirtualBox-5.2-5.2.18_124319_el7-1.x86_64

-> Running transaction check

-> Package SDL.x86_64 0purl 1.2.15-14.el7 will be installed

-> Package fontconfig.x86_64 0RU 2.10.95-11.el7 will be installed

-> Processing Dependency: font (: lang=en) for package: fontconfig-2.10.95-11.el7.x86_64

-- > Processing Dependency: fontpackages-filesystem for package: fontconfig-2.10.95-11.el7.x86_64

-> Package libICE.x86_64 0RU 1.0.9-9.el7 will be installed

-> Package libSM.x86_64 0RU 1.2.2-2.el7 will be installed

-> Package libX11.x86_64 0RU 1.6.5-1.el7 will be installed

-- > Processing Dependency: libX11-common > = 1.6.5-1.el7 for package: libX11- 1.6.5-1.el7.x86_64

-- > Package libXcursor.x86_64 01.1.14-8.el7 will be installed

-> Processing Dependency: libXfixes.so.3 () (64bit) for package: libXcursor-1.1.14-8.el7.x86_64

-> Package libXext.x86_64 0vl 1.3.3-3.el7 will be installed

-> Package libXinerama.x86_64 0RU 1.1.3-2.1.el7 will be installed

-> Package libXmu.x86_64 0RU 1.1.2-2.el7 will be installed

-> Package libXrender.x86_64 0RU 0.9.10-1.el7 will be installed

-> Package libXt.x86_64 0RU 1.1.5-3.el7 will be installed

-> Package libpng.x86_64 2 1.5.13-7.el7_2 will be installed

-> Package libvpx.x86_64 0vl 1.3.0-5.el7_0 will be installed

-> Package libxcb.x86_64 0RU 1.12-1.el7 will be installed

-> Processing Dependency: libXau.so.6 () (64bit) for package: libxcb-1.12-1.el7.x86_64

-> Package mesa-libGL.x86_64 0RU 17.2.3-8.20171019.el7 will be installed

-- > Processing Dependency: mesa-libglapi = 17.2.3-8.20171019.el7 for package: mesa-libGL-17.2.3-8.20171019.el7.x86_64

-> Processing Dependency: libXdamage.so.1 () (64bit) for package: mesa-libGL-17.2.3-8.20171019.el7.x86_64

-> Processing Dependency: libXxf86vm.so.1 () (64bit) for package: mesa-libGL-17.2.3-8.20171019.el7.x86_64

-> Processing Dependency: libglapi.so.0 () (64bit) for package: mesa-libGL-17.2.3-8.20171019.el7.x86_64

-> Processing Dependency: libxshmfence.so.1 () (64bit) for package: mesa-libGL-17.2.3-8.20171019.el7.x86_64

-> Package opus.x86_64 0RU 1.0.2-6.el7 will be installed

-> Running transaction check

-> Package fontpackages-filesystem.noarch 0RU 1.44-8.el7 will be installed

-> Package libX11-common.noarch 0RU 1.6.5-1.el7 will be installed

-> Package libXau.x86_64 0RU 1.0.8-2.1.el7 will be installed

-> Package libXdamage.x86_64 0lv 1.1.4-4.1.el7 will be installed

-> Package libXfixes.x86_64 0RU 5.0.3-1.el7 will be installed

-> Package libXxf86vm.x86_64 0lv 1.1.4-1.el7 will be installed

-> Package libxshmfence.x86_64 0RU 1.2-1.el7 will be installed

-> Package mesa-libglapi.x86_64 0RU 17.2.3-8.20171019.el7 will be installed

-> Package zvbi-fonts.noarch 00.2.35-1.el7 will be installed

-> Finished Dependency Resolution

Dependencies Resolved

=

Package Arch Version Repository Size

=

Installing:

VirtualBox-5.2 x8634 5.2.18_124319_el7-1 virtualbox 76m

Installing for dependencies:

SDL x8631 64 1.2.15-14.el7 rhel_7_server_rpms 204k

Fontconfig x8631 64 2.10.95-11.el7 rhel_7_server_rpms 229k

Fontpackages-filesystem noarch 1.44-8.el7 rhel_7_server_rpms 9.9k

LibICE x8631 64 1.0.9-9.el7 rhel_7_server_rpms 66k

LibSM x8631 64 1.2.2-2.el7 rhel_7_server_rpms 39k

LibX11 x8631 64 1.6.5-1.el7 rhel_7_server_rpms 606k

LibX11-common noarch 1.6.5-1.el7 rhel_7_server_rpms 164k

LibXau x8631 64 1.0.8-2.1.el7 rhel_7_server_rpms 29k

LibXcursor x8631 64 1.1.14-8.el7 rhel_7_server_rpms 30k

LibXdamage x8631 64 1.1.4-4.1.el7 rhel_7_server_rpms 20k

LibXext x8631 64 1.3.3-3.el7 rhel_7_server_rpms 39k

LibXfixes x8631 64 5.0.3-1.el7 rhel_7_server_rpms 18k

LibXinerama x8631 64 1.1.3-2.1.el7 rhel_7_server_rpms 14k

LibXmu x8631 64 1.1.2-2.el7 rhel_7_server_rpms 71k

LibXrender x8631 64 0.9.10-1.el7 rhel_7_server_rpms 26k

LibXt x8631 64 1.1.5-3.el7 rhel_7_server_rpms 173k

LibXxf86vm x8631 64 1.1.4-1.el7 rhel_7_server_rpms 18k

Libpng x86'64 2purl 1.5.13-7.el7_2 rhel_7_server_rpms 213k

Libvpx x8631 64 1.3.0-5.el7_0 rhel_7_server_rpms 498k

Libxcb x8631 64 1.12-1.el7 rhel_7_server_rpms 211k

Libxshmfence x8631 64 1.2-1.el7 rhel_7_server_rpms 7.1k

Mesa-libGL x8631 64 17.2.3-8.20171019.el7 rhel_7_server_rpms 156k

Mesa-libglapi x8631 64 17.2.3-8.20171019.el7 rhel_7_server_rpms 43k

Opus x8631 64 1.0.2-6.el7 rhel_7_server_rpms 630k

Zvbi-fonts noarch 0.2.35-1.el7 epel 116k

Transaction Summary

=

Install 1 Package (+ 25 Dependent packages)

Total download size: 80 M

Installed size: 182 M

Is this ok [y/d/N]:

The following message indicates that VirtualBox is successful:

Installed:

VirtualBox-5.2.x86_64 0:5.2.18_124319_el7-1

Dependency Installed:

SDL.x86_64 0VOR 1.2.15-14.el7 fontconfig.x86_64 0RU 2.10.95-11.el7

Fontpackages-filesystem.noarch 0VOR 1.44-8.el7 libICE.x86_64 0RU 1.0.9-9.el7

LibSM.x86_64 0VOR 1.2.2-2.el7 libX11.x86_64 0RU 1.6.5-1.el7

LibX11-common.noarch 0VOR 1.6.5-1.el7 libXau.x86_64 0RO 1.0.8-2.1.el7

LibXcursor.x86_64 0VOR 1.1.14-8.el7 libXdamage.x86_64 0RU 1.1.4-4.1.el7

LibXext.x86_64 0VX 1.3.3-3.el7 libXfixes.x86_64 0RO 5.0.3-1.el7

LibXinerama.x86_64 0VX 1.1.3-2.1.el7 libXmu.x86_64 0RU 1.1.2-2.el7

LibXrender.x86_64 0RO 0.9.10-1.el7 libXt.x86_64 0RO 1.1.5-3.el7

LibXxf86vm.x86_64 0RO 1.1.4-1.el7 libpng.x86_64 2RU 1.5.13-7.el7_2

Libvpx.x86_64 0vl 1.3.0-5.el7_0 libxcb.x86_64 0vl 1.12-1.el7

Libxshmfence.x86_64 0RO 1.2-1.el7 mesa-libGL.x86_64 0RU 17.2.3-8.20171019.el7

Mesa-libglapi.x86_64 0RV 17.2.3-8.20171019.el7 opus.x86_64 0RU 1.0.2-6.el7

Zvbi-fonts.noarch 0RO 0.2.35-1.el7

Complete!

The above is all the contents of the article "how to install Virtual Box in Linux system". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report