The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. September 19, 2019, 02:52:20 PM

Login with username, password and session length


Pages: [1]
  Print  
Author Topic: Installing Perl on the iPhone  (Read 13047 times)
dirk
Global Moderator
Expert
*****
Offline Offline

Posts: 416


View Profile
« on: June 01, 2010, 10:01:57 AM »

This description assumes that you have jailbroken your iPhone and have Cydia and OpenSSH (preferred) or MobileTerminal installed.

- install lynx via Cydia

- install aptitude via Cydia

- login via OpenSSH

- create a download folder (optional)

- cd into the download folder

Download coredev.pub to your iPhone:

- lynx http://coredev.nl/cydia/coredev.pub
     'D' for Download, select 'Save to disk' (coredev.pub), press 'Q' to quit

Continue on the shell, run:

- apt-key add coredev.pub
- echo 'deb http://coredev.nl/cydia iphone main' > /etc/apt/sources.list.d/coredev.nl.list   
- aptitude update
- aptitude install perl

Test it on the shell:

- perl -v
- perl -e 'print "Hello World\n"'

Logged
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« Reply #1 on: June 01, 2010, 11:09:02 AM »

Frickin great Dirk ... Makes me consider jailbreaking my iPad and putting php on it.
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
kurdt
Lifer
*****
Offline Offline

Posts: 1153


paha arkkitehti


View Profile
« Reply #2 on: June 01, 2010, 11:26:18 AM »

Frickin great Dirk ... Makes me consider jailbreaking my iPad and putting php on it.
I would consider ruby instead of php.. I'll bet ruby's syntax will be like ten times easier to write with ipad's keyboard than php with all those {}s and ;s.
Logged

I met god and he had nothing to say to me.
vsloathe
vim ftw!
Global Moderator
Lifer
*****
Offline Offline

Posts: 1669



View Profile
« Reply #3 on: June 02, 2010, 12:11:37 PM »

I think you can install PHP straight from Cydia. I know you can install Ruby that way.
Logged

hai
Pages: [1]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!