You want to access Linux and do the code with Python on the go. You do have a computer around and the only device that you have is iPhone or iPad.
I will show you how to install Linux and Python below. Let’s get started!
Solution – Step by Step
On your iPhone or iPad, tap the App Store.
Search the application called iSH Shell.
Download and run the app.
You will see the Alpine Linux and you run as root.
Note: Alpine Linux is a lightweight Linux distribution. To find out more, go to https://www.alpinelinux.org/
To verify, run the following command:
To print the current directory, run the following command:
To see the root level of folders, run the command:
To see the folder list in detail, run the command:
To install the Python, run the following command – back to the ~ folder
apk add python3
Once it has done the download and installation, run the command:
You will see the Python terminal. Run the following command:
print("Hello World 2.0")
That is it!
From here, you can add a Bluetooth keyboard to the iPhone or iPad so you can easily type in.
Congratulation on reaching the end of this article. We hope we have shed some light on outlining how to install Linux and Python on the iPhone or iPad.
We write this so that this is not a fixed article. Like in this journey, we learn as we go and re-write some parts, so please keep pinging with this article.
We also would love to hear about how you deal with the situation and what problems you might be facing. Please feel free to comment below this article or jump into our Dewachat and let us know if you have any questions we can answer!
To boost your product and service to the broader web community, you can visit our Dewalist classified website – home to 33,000+ active users and 40,000+ one year of active advertising so far. Check it out!
If you love this article or any tech posts and you would like to receive an update of this article or our latest post, please sign up for the form below: