Safe to install RPMs? No flatpak for mullvad VPN

I'm new to fedora atomic desktop in general. Is it generally safe to install RPMs in this thing? I guess is the question. Do I have to restart every time it does? For example I installed 1Password RPM but then had to uninstall then it asked me to reboot... not sure if that's normal in general
51 Replies
HikariKnight
HikariKnightβ€’6mo ago
installing rpms through rpm-ostree is always a last resort for things that will not work in distrobox and is not available as a flatpak VPNs are such programs. and yes you need to reboot in most cases when installing through rpm-ostree. it has the option to apply live, but in many cases it will not work and you need to reboot from what i remember.
Prinny
Prinnyβ€’6mo ago
@HikariKnight how do you get around it all then? like even htop took forever to install as it did a new hash id entry with rpm-ostree do I have to do a custom image with the applications I want in my bazzite installation?
HikariKnight
HikariKnightβ€’6mo ago
if you want to avoid layering then yes you need to make a custom image
Prinny
Prinnyβ€’6mo ago
and the updates it would receive? do I have to rebuild the image every time and rebase?
HikariKnight
HikariKnightβ€’6mo ago
automatic its all automatic through github bazzite releases update github actions on a timer grabs newest bazzite and puts in your changes and builds the custom image you download newest custom image
Prinny
Prinnyβ€’6mo ago
ok I'm just scratching my head... is there an issue when packages are installed in /opt? the installer kept moving them to /usr/lib/opt/APPNAME (installer as in rpm-ostree install)
ogglord
ogglordβ€’6mo ago
Hey @Prinny I'm playing around with a simple custom image, based on bazzite https://github.com/Ogglord/bazzite-ogglord it's quite easy and fun, my daily driver it all starts with the Containerfile - and the github action compiles it, and uploads it to ghcr.io
Prinny
Prinnyβ€’6mo ago
yea I saw the containerfile I was just hoping to keep things a bit more ... simple I guess 😦 but I imagine it pushes, then I just rebase to that with whatever atomic desktop I'm using is the gist ?
ogglord
ogglordβ€’6mo ago
yes, precisely rpm-ostree rebase ostree-unverified-registry:ghcr.io/somethingsomething you can always undo, and the last one is still an option in grub
Prinny
Prinnyβ€’6mo ago
thanks, I think I absolutely love where this rpm-ostree is heading but it man forking and doing my own thing wasn't in my "welp, just want an stable distro without the hassle of scripting" haha
ogglord
ogglordβ€’6mo ago
gotcha πŸ™‚
Prinny
Prinnyβ€’6mo ago
i do hope that eventually they could like create units you can just select/drag into these things and it's all a 'choose your packages' for non-containerized things
ogglord
ogglordβ€’6mo ago
once you have it, its hella stable
Prinny
Prinnyβ€’6mo ago
oh absolutely no doubt okay, my frustration (not related to this) is gone so my mind is clear. what steps did you follow ?... Ill probably just fork what you have lol. the other is how does anyone inspect that artifacts (layers) generated without really rebasing can we just mount the image or something?
ogglord
ogglordβ€’6mo ago
haha cool! I followed this guide, my repo is based on this template https://github.com/ublue-os/image-template I'm sure you can mount/boot any layer, as its a generic OCI containers. But what I've done (I have just done this for two weeks lol) is to look at the github repos, it's quite easy to track once you get the gist of it
Prinny
Prinnyβ€’6mo ago
do you have a schedule for it or?.. (when it comes to like grabbing updates/etc I'm still wrapping my head on how receiving updates works)
ogglord
ogglordβ€’6mo ago
in that template repo, there is a github action
Prinny
Prinnyβ€’6mo ago
ah ok I just... thought it didn't include the batteries (scheduler)
ogglord
ogglordβ€’6mo ago
github grabs the upstream bazzite:testing each day, and rebuilds my image. And it also rebuilds it on each commit automatically on my desktop there's the automatic update or ujust update
Prinny
Prinnyβ€’6mo ago
noice, I'm more used to gitlab so sorry haha but nice to know
ogglord
ogglordβ€’6mo ago
I'm just baffled that im getting this compute and storage for free (so far..) from github
Prinny
Prinnyβ€’6mo ago
well, microsoft has that infinite money glitch going for them πŸ˜‚
ogglord
ogglordβ€’6mo ago
lol yea I guess
Prinny
Prinnyβ€’6mo ago
so basically you rebase then after that it's ujust update from there on if so that sounds pretty good to me
ogglord
ogglordβ€’6mo ago
yea
Prinny
Prinnyβ€’6mo ago
I guess I just hope that the RPMs I install are actually properly installed what kept happening is that i installed mullvad vpn but it installed it in the wrong place so everything broke (installed it in /usr/lib instead of placing it in /opt) but hopefully committing the layer fixes all that in the building stage
ogglord
ogglordβ€’6mo ago
add the yum repo, then in my repo, I would try to add it to apps.yml but under optfix: - mullvad-vpn look what the scripts/rpm-ostree.sh does for those apps correction: mullvad-vpn goes under install: and each directory that should be linked goes under optfix
Prinny
Prinnyβ€’6mo ago
yeap sounds good, thanks for the help and insights πŸ‘
ogglord
ogglordβ€’6mo ago
so you gotta know where mullvad-vpn is installed, and for each list them like /opt/[path-to-optfix] I guess, I have not tried this but it should work lol
Prinny
Prinnyβ€’6mo ago
does your 1password communicates with your browser now? noticed you had that in πŸ€”
ogglord
ogglordβ€’6mo ago
yes it works flawlessly you can also install mullvad-vpn in a distrobox distrobox enter [install classic fedora style] distrobox-export --app mullvad-vpn
Prinny
Prinnyβ€’6mo ago
interesting... also if I want to recompile a package I imagine distrobox I can do multi stage like docker and get the artifacts ? no worries if you don't know I can always ask in the dev channels to see how they go about it I think I have way more than enough information to fix all my issues and have a proper(custom) setup rolling
ogglord
ogglordβ€’6mo ago
great. glhf!
Marcus Lee
Marcus Leeβ€’6mo ago
I wonder if I can do this as well but with Windscribe
Prinny
Prinnyβ€’6mo ago
thanks to @ogglord I've been able to adapt it to my liking to be honest. that's the image I just built without rebasing (i'm using ubuntu lts right now).
No description
Prinny
Prinnyβ€’6mo ago
but to answer your question yea I don't really see why not I'll probably put out a script if necessary
Prinny
Prinnyβ€’6mo ago
https://github.com/thndgonz/bazzite-custom-rebazze (ill rebase the git later but need to do further testing)
GitHub
GitHub - thndgonz/bazzite-custom-rebazze: Personal image based on b...
Personal image based on bazzite-stable. Do not use unless you know what you are doing. - thndgonz/bazzite-custom-rebazze
Marcus Lee
Marcus Leeβ€’6mo ago
Hmm, these stuff is still a bit confusing to me The problem I have with Windscribe currently is that they don't have a repo
ogglord
ogglordβ€’6mo ago
you could curl the rpm in a bash script https://windscribe.com/install/desktop/linux_rpm_x64 seems to give the "latest" and install the rpm file using rpm-ostree
Marcus Lee
Marcus Leeβ€’6mo ago
Oh I thought the images explicitly needs a repo to work, neat
Prinny
Prinnyβ€’6mo ago
it will not persist because it installs the app in the /opt so when you restart all you have is the binaries in the /usr/bin but everything else is gone
Marcus Lee
Marcus Leeβ€’6mo ago
Yeah, I've read something about optfix
Prinny
Prinnyβ€’6mo ago
I did a layer for mullvad vpn but you are better off asking in #πŸͺcustom-image-support as they might all have different opinions on how to package it but yea once you get the optfix in you are golden πŸ™‚
Marcus Lee
Marcus Leeβ€’6mo ago
Alright
Metakw
Metakwβ€’6mo ago
ty
Marcus Lee
Marcus Leeβ€’6mo ago
My custom image builds! Problem is uh, I rebased to it but I didn't realize that I was using the KDE image instead of GNOME after I had already booted I did read that rebasing to a different DE is not recommended, what happens now?
Prinny
Prinnyβ€’6mo ago
ask in #πŸͺcustom-image-support @Marcus Lee sadly can't help you there, in theory you can just boot to an old entry.
ogglord
ogglordβ€’6mo ago
just try it as far as I know, the major issue is that KDE and Gnome like to step on eachothers configs
Prinny
Prinnyβ€’6mo ago
i basically just started bazzite a few days ago and achieved plenty if I'd say so myself but don't have the knowledge of those sort of oopsies haha
ogglord
ogglordβ€’6mo ago
the stuff in you ~home folder if you have a backup, or if you don't care about your ~/.config especially then I would simply go for it
Marcus Lee
Marcus Leeβ€’6mo ago
I see
Want results from more Discord servers?
Add your server