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)

相关推荐
一叶之秋141243 分钟前
Linux基础IO
linux·运维·服务器
longerxin20204 小时前
在 Linux 上使用 SCP 将文件传输到 Windows(已开启 SSH)
linux·运维·ssh
王正南8 小时前
kali-linux 虚拟机连接安卓模拟器
android·linux·运维·虚拟机连接模拟器·安卓模拟器,linux虚拟机
吳所畏惧8 小时前
Linux环境/麒麟V10SP3下离线安装Redis、修改默认密码并设置Redis开机自启动
linux·运维·服务器·redis·中间件·架构·ssh
yueguangni8 小时前
sysstat 版本 10.1.5 是 CentOS 7 的默认版本,默认情况下确实不显示 %wait 字段。需要升级到新版sysstat
linux·运维·centos
萧曵 丶10 小时前
Linux 业务场景常用命令详解
linux·运维·服务器
豆是浪个10 小时前
Linux(Centos 7.6)命令详解:ps
linux·windows·centos
Run_Teenage11 小时前
Linux:深刻理解缓冲区
linux
youxiao_9011 小时前
kubernetes 概念与安装(一)
linux·运维·服务器
凡梦千华11 小时前
logrotate日志切割
linux·运维·服务器