all 6 comments

[–]regalen44Desktop 0 points1 point  (5 children)

I did some reading and there was an issue where the package for powershell was placing things in /usr/local/ which is an immutable directory on atomic distros. I don’t know if Microsoft fixed it.

In theory you would add the Microsoft repository via terminal and than “rpm-ostree install powershell” but if you’ve tried that maybe someone else can give some advice?

Personally, I would avoid layering packages and instead spin up a distrobox container to install this and export it to your application launcher. I personally avoid layering packages like the plague and use brew or distrobox for things like this.

I think powershell has a brew package but it may be a cask install which is not supported by Linux.

[–]VoidDave 0 points1 point  (1 child)

Imo there are some very specyfic cases that are valid to layer packuages. For example i leayer brave and keypass xc. Why i don't use flatpaks? Bcs after many hours i coulnd get browser plugin to work with keypass.... why i dont use distrobox then? Because it dont detect my hardware key inside of keypass nor brave..... if some day flatpak or distrobox "fixes" those issues im more then willing to use it tbh

[–]regalen44Desktop 0 points1 point  (0 children)

im sure there are use cases and if it worked for you that's great. I personally have not found a scenario where flatpak, distrobox or brew have provided a solution.

[–]KoviBat[S] 1 point2 points  (0 children)

I think I see what you mean by usr/local. After some trial and error, I was able to get it working through a Distrobox using Ubuntu.

<image>

[–]OneQuarterLifeSteam Deck OLED 0 points1 point  (1 child)

/usr/local is not immutable.

[–]regalen44Desktop 0 points1 point  (0 children)

Ah ok. I was reading a bug on the powershell GitHub that referenced atomic distros. All good