this post was submitted on 08 Jan 2025
13 points (100.0% liked)
Bazzite
99 readers
1 users here now
Unofficial community for Universal Blue’s Bazzite image.
Documentation: https://docs.bazzite.gg/
Official forum: https://universal-blue.discourse.group/c/bazzite/
Universal Blue on Mastodon: https://fosstodon.org/@UniversalBlue
Source code: https://github.com/ublue-os/bazzite/
founded 3 months ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It comes as an RPM. Just download it,
cd
into the directory where it's stored, thenrpm-ostree install ./harmonioid-package-name.rpm
That's called layering. You would use the same command to search for and install other packages in the
dnf
repos:rpm-ostree search mpv
thenrpm-ostree install package-1 package-2
(whatever they're called)Didn't work, here's what I have when I tried to install mpv-devel:
`error: Could not depsolve transaction; 1 problem detected: Problem: conflicting requests
You might already have that stuff installed. The reason I say that is this:
Did you try installing the RPM by itself and see if it works?
ETA: layering can be a good option, but if the base system already has the files you're trying to install but a different version, you'll sometimes run into funky behavior. I think you have to include an
override --force
if you want to replace something already installed.And since you're just trying to install a music program, that seems a little invasive for what you're trying to do and might introduce bugs during future updates. I don't recommend you bother trying to replace system packages.
I'll try this when I get home. Thanks!
The way I described it above will require at least two restarts, unfortunately, so be prepared to wait (layering is safe but as slow as getting a new system update).
You might be able to chain the local file with the dependencies in the repos, like
rpm-ostree install dep1 dep2 /path/to/your/file.rpm
to save a restart and only create the one new rollback state in the boot menu.