DEV Community

I run PowerShell on Android and so can you !!

TheMentor on September 03, 2019

Welcome PowerShell Enthusiasts, Android tinkerers and fellow Geeks! This is a step by step guide on how I managed to run PowerShell on m...
Collapse
 
markc profile image
Mark C

It was upgrading the packages and when I "tabbed" back, it was asking for the password again, but I cannot login. Since there was no confirmation that first time, I am not sure if I typed the VNC and user password differently, although I tried to watch the shown letter. Either way, I logged in to update and now I can't. How can I solve this?

Collapse
 
markc profile image
Mark C

Apparently, a dependency broke. That was the real issue. The other was because multiple instance sessions were trying to be opened every time I clicked on the main menu's app.

error while loading shared libraries: libgpgme.so.11: cannot open shared object file: No such file or directory

So I installed it all again from scratch. Now I would like to run a PS1 file, but the FS is hidden from view. Hmm

Collapse
 
markc profile image
Mark C

Final issue:

I ran wget with the target URL but got an error list:

Any idea how too get it to work?

Program to use:
github.com/CelianB/ChesscomPgnExpo...

Collapse
 
kovesp profile image
Peter Koves • Edited

I followed the instructions, tough things didn't look quite the same (e.g., no login required, in step 4 choice was between graphical and terminal). I chose terminal becasue I am trying this on an eink tablet.

I downloaded and expanded the 7.3.0 version of PowerShell. Had to chmod +x.
But when running ./pwsh all I get is "Failed to create CoreCLR, HRESULT: 0x8007000E".

Any ideas?

Update: I decided to try again with PowerPoint 7.0. So I rm -r-ed the powershell directory and downloaded this version from powershell 7.0.13 on github and proceeded with that. This works, which is good enough for me: I mostly want it for some experiments with powershell while reading some deep-dive poershell books on my tablet.

Collapse
 
xeroxism profile image
Alexander Omorokunwa

Beautiful!

Collapse
 
thementor profile image
TheMentor

Thank you very much!

Collapse
 
kurtdegreeff profile image
Kurt De Greeff

As a Powershell fan, this is just fantastic. Just tried all your instructions on my Oneplus 6 and works perfect! Much appreciated, thank you!

Collapse
 
thementor profile image
TheMentor

I'm happy you liked it and that it worked on your oneplus6

Collapse
 
ehmiiz profile image
ehmiiz

Thats awesome!! Will try, thanks for the inspiration

Collapse
 
thementor profile image
TheMentor

Definitely give it a shot it's a lot of fun.
If you need any help let me know!

Collapse
 
lepinekong profile image
lepinekong

crazy idea love it ;)

Collapse
 
moonhj2000 profile image
moonhj2000

I want to know how to use python code with android powershell

Collapse
 
geoben profile image
george benhur

Hi, Im just a noob trying to run a powershell script on android. I'm unable to run or locate the right path to my file and showing me the error as in the image. Can anyone help?