I've installed powershell
from a powershell_6.0.0-alpha.9-1ubuntu1.16.04.1_amd64.deb
package I've downloaded form GitHub and typed following commands:
sudo apt-get install libunwind8 libicu55
sudo dpkg -i powershell_6.0.0-beta.9-1.ubuntu.16.04_amd64.deb
But when I run powershell
on terminal it says dependencies aren't installed. So I removed powershell
with
sudo apt autoremove
(to clean unmet dependencies) and
sudo apt purge powershell
Then I started installation again with following commands
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list
sudo apt-get update
sudo apt-get install -y powershell
But after the installation is finished and I wanted to run the powershell
by typing it on terminal but it says command not found
How can I fix this problem?
sudo dpkg-query -l powershell
and lets see the output! – George Udosen Nov 4 '17 at 12:37