24 September 2023

pwsh

System: Slackware Linux (version 15.0)
CPUs: Intel(R) Core(TM) i5-3230M CPU @2.60GHz
GPU: Mesa DRI Intel(R) HD Graphics 4000

Installation of powershell-7.3.6.

bash-5.1$ su -
Password:
root@darkstar:~# cd /tmp
root@darkstar:/tmp# sbopkg -i powershell

...

powershell:
  Checking GPG for powershell.tar.gz ... OK
  Processing powershell 7.3.6-1
  Using original .info file
  Using original SlackBuild file
  No build options selected.

...

Do you wish to proceed based on the search results above? Packages not
found will be skipped during the process.

(P)roceed or (Q)uit?: P

...

Done upgrading/installing package.

...

root@darkstar:/tmp# cat <<EOF > /etc/profile.d/pwsh.sh
> #!/bin/sh
> export POWERSHELL_TELEMETRY_OPTOUT="True"
> export POWERSHELL_UPDATECHECK="Off"
> EOF
root@darkstar:/tmp# chmod 755 /etc/profile.d/pwsh.sh
root@darkstar:/tmp# exit
logout
bash-5.1$

[   ] [   ]



Most Help files are provided only for a US locale.

bash-5.1$ tree -L 1 --noreport ~/.local/share/powershell
/home/eric/.local/share/powershell
├── Modules
└── PSReadLine
bash-5.1$ LANG=en_US.utf8 pwsh -Command Update-Help
bash-5.1$ tree -L 1 --noreport ~/.local/share/powershell
/home/eric/.local/share/powershell
├── Help
├── Modules
└── PSReadLine
bash-5.1$