installing (legacy version of) Virtualbox

I installed Virtualbox in my Bazzite with either rpm-ostree and the installed virtualbox versions was modern one(whose Windows XP VMs can't play 3d games), even when I use legacy version packages how to installs legacy versions of Virtualbox with either that? or how to downgrade virtualbox to version 6.0.X or earlier?
18 Replies
mrvictorywin (Ping on reply)
Find an .rpm of virtualbox, pass that to rpm-ostree
Masonicon
MasoniconOP2mo ago
I has already installed .rpm file of virtualbox 6.0.14 to rpm-ostree and when I installed it, it installs newer version instead of 6.0.14 one
皇家海星
皇家海星2mo ago
what is the command you used to install it?
t00nj
t00nj2mo ago
Out of curiosity how do pass an RPM to rpm-ostree? Is it just… rpm-ostree install /path/to/package.rpm
Masonicon
MasoniconOP2mo ago
rpm-ostree install virtualbox
皇家海星
皇家海星2mo ago
You need to pass the file to it, not the reference if you want it to layer the file, like t00nj said
Masonicon
MasoniconOP2mo ago
how?
皇家海星
皇家海星2mo ago
assuming you downloaded the rpm file from https://download.virtualbox.org/virtualbox/rpm/rhel/7/x86_64/ , and the file you downloaded is named VirtualBox-6.0.6.0.24_139119_el7-1.x86_64.rpm, and that you haven't moved it, you can open a terminal and run rpm-ostree install ~/Downloads/VirtualBox-6.0.6.0.24_139119_el7-1.x86_64.rpm
Masonicon
MasoniconOP2mo ago
I got this message when I tried to install from a .rpm package file more than once: Problem: conflicting requests and how to downgrade Virtualbox to earlier versions?
皇家海星
皇家海星2mo ago
you need to remove virtualbox first before layering(installing) the earlier option if you already have it installed then obviously it won't work due to package conflicts
Masonicon
MasoniconOP2mo ago
how?
皇家海星
皇家海星2mo ago
what does your rpm-ostree status currently look like?
Masonicon
MasoniconOP2mo ago
State: idle Deployments: ● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-nvidia-open:stable Digest: sha256:a87d7408b5f1b57676288ac8c3402daab13f25861562477e1f8570893f2e66d6 Version: 42.20251002 (2025-10-02T17:17:32Z) LayeredPackages: VirtualBox LocalPackages: megasync-5.16.0-1.1.x86_64 ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-nvidia-open:stable Digest: sha256:a87d7408b5f1b57676288ac8c3402daab13f25861562477e1f8570893f2e66d6 Version: 42.20251002 (2025-10-02T17:17:32Z) LocalPackages: megasync-5.16.0-1.1.x86_64
皇家海星
皇家海星2mo ago
eh just bruh moment and press y and then reboot after the reboot, install your .rpm file
Masonicon
MasoniconOP2mo ago
how about this: State: idle Deployments: ● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-nvidia-open:stable Digest: sha256:a87d7408b5f1b57676288ac8c3402daab13f25861562477e1f8570893f2e66d6 Version: 42.20251002 (2025-10-02T17:17:32Z) ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-nvidia-open:stable Digest: sha256:a87d7408b5f1b57676288ac8c3402daab13f25861562477e1f8570893f2e66d6 Version: 42.20251002 (2025-10-02T17:17:32Z) LocalPackages: megasync-5.16.0-1.1.x86_64
皇家海星
皇家海星2mo ago
you resetted it? yeah you can just layer the .rpm file
Masonicon
MasoniconOP2mo ago
how?
皇家海星
皇家海星2mo ago
.

Did you find this page helpful?