求助openeuler 22.03 lts sp3 安装VirtualBox

openeuler 22.03 lts sp3 安装VirtualBox
软件仓库没有,只好下载安装 rpm -ivh VirtualBox-6.1-6.1.42_155177_el9-1.x86_64.rpm
然后会提示一大堆依赖,搞定了大部分 ,还剩下以下不能搞定,求助

warning: VirtualBox-6.1-6.1.42_155177_el9-1.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 98ab5139: NOKEY
error: Failed dependencies:
libcrypto.so.3()(64bit) is needed by VirtualBox-6.1-6.1.42_155177_el9-1.x86_64
libcrypto.so.3(OPENSSL_3.0.0)(64bit) is needed by VirtualBox-6.1-6.1.42_155177_el9-1.x86_64
libssl.so.3()(64bit) is needed by VirtualBox-6.1-6.1.42_155177_el9-1.x86_64
libssl.so.3(OPENSSL_3.0.0)(64bit) is needed by VirtualBox-6.1-6.1.42_155177_el9-1.x86_64
libstdc++.so.6(GLIBCXX_3.4.29)(64bit) is needed by VirtualBox-6.1-6.1.42_155177_el9-1.x86_64
libvpx.so.6()(64bit) is needed by VirtualBox-6.1-6.1.42_155177_el9-1.x86_64

这些依赖的是 openssl、glibc 等最底层的包,搞不好系统就挂了。还是不要折腾去在 openEuler 上安装 CentOS 9 的 rpm 包了,看看能不能编译安装

1、尝试一下旧版本: Download_Old_Builds – Oracle VM VirtualBox

2、试试 virt-manager

有没有可能你安装的版本低了?
我试了,可以安装 virtual 7.08。
首先
dnf install qt5 vulkan libvpx ;
然后
wget https://download.virtualbox.org/virtualbox/7.0.18/VirtualBox-7.0-7.0.18_162988_el8-1.x86_64.rpm
最后
rpm -ivh VirtualBox-7.0-7.0.18_162988_el8-1.x86_64.rpm

[root@localhost ~]# rpm -ivh VirtualBox-7.0-7.0.18_162988_el8-1.x86_64.rpm
warning: VirtualBox-7.0-7.0.18_162988_el8-1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 2980aecf: NOKEY
error: Failed dependencies:
libXt.so.6()(64bit) is needed by VirtualBox-7.0-7.0.18_162988_el8-1.x86_64
还是提示上述问题

缺什么,安装就行了。

dnf install libXt

缺依赖吧,用yum localinstall VirtualBox-7.0-7.0.18_162988_el8-1.x86_64.rpm试试

感谢各位解答,以下是完整步骤:

首先安装X11-forwarding
yum -y install xorg-x11-xauth

vi /etc/ssh/sshd_config 修改以下三项
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost no

systemctl restart sshd #是配置生效 ,然后退出终端,重新登陆终端
dnf install qt5 vulkan libvpx libXt -y #安装依赖

wget https://download.virtualbox.org/virtualbox/7.0.18/VirtualBox-7.0-7.0.18_162988_el8-1.x86_64.rpm
下载软件
rpm -ivh VirtualBox-7.0-7.0.18_162988_el8-1.x86_64.rpm #安装软件
VirtualBox # 运行软件

Go to the download page here Index of http://download.virtualbox.org/virtualbox/7.1.2 and download the .run file. Once downloaded, right click on it and toggle to allow using it as an executable. Then, from the terminal cd into the folder where you downloaded it and sudo ./VirtualBox-7.1.2-164945-Linux_amd64.run. It should work just fine. ;) 官网链接在这里需要下载这个安装脚本之后安装即可,响应的报错解决下就行一般来说按照提示装一些软件就好了