Centos 7.9 在线安装 VirtualBox 7.0

1 访问 Linux_Downloads -- Oracle VM VirtualBox

2 点击 ​the Oracle Linux repo file 复制 内容到 /etc/yum.repos.d/.

3 在 /etc/yum.repos.d/ 目录下新建 virtualbox.repo,复制内容到 virtualbox.repo 并 :wq 保存。

root@localhost centos\]# cd /etc/yum.repos.d/ \[root@localhost yum.repos.d\]# ls CentOS-Base.repo CentOS-fasttrack.repo CentOS-Vault.repo CentOS-CR.repo CentOS-Media.repo CentOS-x86_64-kernel.repo CentOS-Debuginfo.repo CentOS-Sources.repo \[root@localhost yum.repos.d\]# ll 总用量 40 -rw-r--r--. 1 root root 1664 11月 23 2020 CentOS-Base.repo -rw-r--r--. 1 root root 1309 11月 23 2020 CentOS-CR.repo -rw-r--r--. 1 root root 649 11月 23 2020 CentOS-Debuginfo.repo -rw-r--r--. 1 root root 314 11月 23 2020 CentOS-fasttrack.repo -rw-r--r--. 1 root root 630 11月 23 2020 CentOS-Media.repo -rw-r--r--. 1 root root 1331 11月 23 2020 CentOS-Sources.repo -rw-r--r--. 1 root root 8515 11月 23 2020 CentOS-Vault.repo -rw-r--r--. 1 root root 616 11月 23 2020 CentOS-x86_64-kernel.repo \[root@localhost yum.repos.d\]# vim virtualbox.repo ![](https://file.jishuzhan.net/article/1752569969285009409/62031e191bef7285fc57335acce9b078.webp) 4 使用 yum search VirtualBox 搜索可用的 ![](https://file.jishuzhan.net/article/1752569969285009409/2dfbc4521e774b1f49ed77ab8422e331.webp) 5 使用 yum install VirtualBox-7.0.x86_64 安装 ![](https://file.jishuzhan.net/article/1752569969285009409/316e6706f046e740613745d543f5681e.webp) 6 等待安装完成。 ![](https://file.jishuzhan.net/article/1752569969285009409/bcd745bb10441d514ed21060addc6390.webp) 7 系统工具--Oracle VM VirtualBox ![](https://file.jishuzhan.net/article/1752569969285009409/ac65b64a961e6487d3929641e684cbc7.webp) 附录: 依赖关系:qt5-qttools-common,qt5-qttools-libs-help,qt5-qtx11extras,vulkan,vulkan-filesystem ![](https://file.jishuzhan.net/article/1752569969285009409/962e58cbe017714ea83e63088b2f5b2a.webp)

相关推荐
哈基咪怎么可能是AI7 小时前
为什么我就想要「线性历史 + Signed Commits」GitHub 却把我当猴耍 🤬🎙️
linux·github
十日十行1 天前
Linux和window共享文件夹
linux
木心月转码ing1 天前
WSL+Cpp开发环境配置
linux
崔小汤呀2 天前
最全的docker安装笔记,包含CentOS和Ubuntu
linux·后端
何中应2 天前
vi编辑器使用
linux·后端·操作系统
何中应2 天前
Linux进程无法被kill
linux·后端·操作系统
何中应2 天前
rm-rf /命令操作介绍
linux·后端·操作系统
何中应2 天前
Linux常用命令
linux·操作系统
葛立国2 天前
从 / 和 /dev 说起:Linux 文件系统与挂载点一文理清
linux
哇哈哈20213 天前
信号量和信号
linux·c++