Stay Tuned!

Subscribe to our newsletter to get our newest articles instantly!

Programming

How to Install Linux and Python on iPhone or iPad

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:

uname -a
whoami

To print the current directory, run the following command:

pwd

To see the root level of folders, run the command:

cd /

To see the folder list in detail, run the command:




ls -li

To install the Python, run the following command – back to the ~ folder

cd 
apk add python3

Once it has done the download and installation, run the command:

python3

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.




The End

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:




Newsletter signup

This is a newsletter for tech, creative, gadgets, games and crypto.

Please wait...

Thank you for sign up!

Avatar

Valdy

About Author

Valdy founded Dewacorp.com, a helpdesk and IT Services provider that has taken care of nearly 40,000 customer service requests in the past 15 years - nearly 2,600 per year. He also created the growing Dewalist.com - a classified website that has close to 110,000 page views and 9,000+ user visits per month with 61,000+ yearly published ads and 47,000 active registered users. He blogs for the ever-growing Dewapost.com, a tech blog that gets around 20,000 impressions per month with 700 clicks and 10 average pages first impressions on Google Search. You can reach him on the Contact Us page, social media links below or Dewachat.com.

You may also like

Programming

SQL: Performance Tuning Query

Queries — Basic setup DBCC DROPCLEANBUFFERSDBCC FREEPROCCACHE SET STATISTICS IO ONSET STATISTICS TIME ON /* SELECT * FROM dbo.Categories*/ Sources
Programming

Notes: Road to Yii Framework

Apache2 Configuration on MAC Snow Leopard: /etc/apache2/httpd.conf “It worksP page is located under: /Library/WebServer/Documents/index.html.en To restart apache2 after changing: sudo apachectl