We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how can we make this work on all platforms? I couldn't install powershell in my dockerfile (almalinux) even after installing dependencies:
nothing provides krb5 needed by powershell
Then I see this powershell feature which is debian-only
This is impeding adoption of powershell in my opinion.
My install script FYI:
#!/usr/bin/env bash dnf install -y wget wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq && chmod +x /usr/bin/yq dnf install -y krb5-libs libicu openssl-libs zlib # Problem: conflicting requests # - nothing provides krb5 needed by powershell-7.5.0-1.cm.aarch64 from @commandline latest_release=$(curl -s https://api.github.com/repos/PowerShell/PowerShell/releases/latest) && \ rpmlink=$(echo "$latest_release" | arch=$(arch) yq -r '[.assets[] | select(.name == ("*" + strenv(arch) + ".rpm")) | .browser_download_url'][0]) && \ dnf install -y $rpmlink
Seems like rpm -Uvh --nodeps powershell-7.5.0-1.cm.x86_64.rpm $rpmlink does the trick
rpm -Uvh --nodeps powershell-7.5.0-1.cm.x86_64.rpm $rpmlink
The text was updated successfully, but these errors were encountered:
Hi @elibroftw, Thank you for raising the issue! I will check and get back to you.
Thanks, Sireesha
Sorry, something went wrong.
Hi, Can you please help me with the exact distro you are trying to install powershell for?
AlmaLinux 9
sireeshajonnalagadda
No branches or pull requests
how can we make this work on all platforms? I couldn't install powershell in my dockerfile (almalinux) even after installing dependencies:
Then I see this powershell feature which is debian-only
This is impeding adoption of powershell in my opinion.
My install script FYI:
Seems like
rpm -Uvh --nodeps powershell-7.5.0-1.cm.x86_64.rpm $rpmlink
does the trickThe text was updated successfully, but these errors were encountered: