PowerShell / PowerShell

PowerShell for every system!
https://microsoft.com/PowerShell
MIT License
45.6k stars 7.31k forks source link

[DSR] - Android (Termux) - Arm64 #17941

Closed babaric-dev closed 7 months ago

babaric-dev commented 2 years ago

Name of the Distribution

Android OS

Version of the Distribution

10 (Should work for Android 7+ because Termux supports it)

Package Types

Processor Architecture

aarch64 (arm64)

.NET Core Support

Distribution Requirements

Exemption Justification

No response

Progress

For PowerShell Team ONLY

babaric-dev commented 2 years ago

Btw, PowerShell theoratically works if compiled with Android's Bionic libc. Plus, I chose the .deb option because I think it would be cool to install PowerShell in Termux (yes, Termux supports installing .debs).

kasini3000 commented 2 years ago

arm version powershell can be run in android already,

But I don't know what cpu can powershell be on? (arm v?) What Android version (android) can it run in.

who can tell us ? 3q

babaric-dev commented 2 years ago

PowerShell can only be ran in Android through Termux with Linux distros in proot (because they are using glibc). In contrary, Android, which uses bionic libc, and I guess thats the limitation for now.

babaric-dev commented 2 years ago

Just curious, how close are we from adding this feature. Are there any difficulties? I will try to help if so.

chaoscreater commented 1 year ago

Would like to see this as well. I can run curl on Android and do a bunch of cool automation tasks and would love to run Powershell natively on Android and do more things with it.

rhubarb-geek-nz commented 11 months ago

Can PowerShell SDK be used in a MAUI application targeted at Android?

If the SDK works with the so-called .NET for Android then it is the dotnet team doing the work regarding native library support.

Unfortunately, according to the diagram, .NET for Android is Mono based rather than .NET CoreCLR.

RokeJulianLockhart commented 11 months ago

https://github.com/PowerShell/PowerShell/issues/17941#issuecomment-1837541173

@rhubarb-geek-nz, that seems like it would best be asked at https://github.com/PowerShell/PowerShell/discussions (albeit probably also useful linked here retroactively initially).

GitHub
PowerShell/PowerShell · Discussions
Explore the GitHub Discussions forum for PowerShell PowerShell. Discuss code, ask questions & collaborate with the developer community.
rhubarb-geek-nz commented 11 months ago

Added https://github.com/orgs/PowerShell/discussions/20840

GitHub
PowerShell SDK support for MAUI · PowerShell · Discussion #20840
Can the PowerShell SDK be used with MAUI? #17941 The discussion was around supporting Android. Given MAUI is already doing Android then fitting in with this runtime would be better than having mult...
theJasonHelmick commented 7 months ago

@babaric-dev - Thank you for this request for an Android distribution. At this time, we have no plans in 2024 to support this distribution.

microsoft-github-policy-service[bot] commented 7 months ago

📣 Hey @babaric-dev, how did we do? We would love to hear your feedback with the link below! 🗣️

🔗 https://aka.ms/PSRepoFeedback

Microsoft Forms
RokeJulianLockhart commented 7 months ago

https://github.com/PowerShell/PowerShell/issues/17941#event-12202893514

@theJasonHelmick, per https://github.com/PowerShell/PowerShell/issues/17941#issuecomment-2012681373, shouldn't you mark this as unplanned instead of complete, then?

theJasonHelmick commented 7 months ago

Closing as unplanned.

microsoft-github-policy-service[bot] commented 7 months ago

📣 Hey @babaric-dev, how did we do? We would love to hear your feedback with the link below! 🗣️

🔗 https://aka.ms/PSRepoFeedback

Microsoft Forms