I am having some issues installing PowerShell on my 32-bit Kali Linux PC. I followed this guide and started with:
apt update && apt -y install curl gnupg apt-transport-https
Next, I downloaded and added the public repository GPG key so APT will trust the packages and alert the user to any issues with package signatures.
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
With the GPG key added, I added the Microsoft package repository to its own package list file under
/etc/apt/sources.list.d/ and updated the list of available packages.
echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-debian-stretch-prod stretch main" \ > /etc/apt/sources.list.d/powershell.list apt update
No errors so far indicated in the update process, Microsoft sources are in my source.list, and everything should be good to go.
When I execute:
apt -y install powershell
root@kali:/opt# apt -y install powershell Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package powershell