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
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. 官网链接在这里需要下载这个安装脚本之后安装即可,响应的报错解决下就行一般来说按照提示装一些软件就好了