Filed under: iPod Family, UNIX / BSD, iPhone
Debian-style installation arrives on iPhone
After typing his fingers to the bone, overworked iPhone developer Jay "Saurik" Freeman has finally finished his long-awaited Cydia release. As Freeman puts it, the iPhone is a 667MHz computer with 128MB RAM and at least 4GB of flash. So why not use it as a Unix workstation?
Motivated by the relative limitations of the existing BSD subsystem, Freeman decided to port Debian's APT to the iPhone -- tweaking items to work better with the iPhone's relatively messed-up network settings. A UIKit front end, Cydia, provides a GUI for users to select and install programs -- basically Installer.app for fully leaded geeks. Cydia isn't limited to command-line software. It should allow installation of any and all software package types.


![TUAW [Cafepress]](http://www.blogsmithmedia.com/www.tuaw.com/media/tuaw-cafepress-promo.png)


Reader Comments (Page 1 of 1)
Daniel Vargas said 12:50PM on 2-28-2008
I want my MMS.... Can anyone hear me. I said MMS Motha Fo.
Reply
Johnny said 1:54PM on 2-28-2008
I can't figure out why it wasn't one of the first Installer.apps available.
Fritz Laurel said 3:06PM on 2-28-2008
Or, at least a less-than-ignorant SMS implementation that lets you know when you've reached the 160 char limit. Or splits a >160 char message into multiple messages.
Dave said 4:00PM on 2-28-2008
MMS is old and dated... with a full-featured e-mail client on the iPhone, people should be using that instead. If your recipient can't check e-mail on their phone, that's their problem. Personally, I'd rather skip the blurry cell phones pics people send over MMS. This is 2008... MMS is like the bastard child of e-mail for mobile phones and I'm glad Apple didn't include it. It's only a matter of time before other phones catch up.
JaXX said 1:05PM on 2-28-2008
err 412MHz :-)
Reply
ETJ said 5:03PM on 2-28-2008
Oddly enough, Apple underclocked the iPhone.
JaXX said 1:07PM on 2-28-2008
ah, my bad, it's hopfully written both on saurik.com
Reply
Dripps said 1:22PM on 2-28-2008
What the heck is Debian APT? I didn't know I was missing something but I'm sure it will add to the functionality of my iphone so bring it on!
Reply
JaXX said 1:33PM on 2-28-2008
Here's for you my friend:
http://en.wikipedia.org/wiki/Advanced_Packaging_Tool
It's part of Debian's (and it's variants such as Ubuntu and some new comers) packaging system.
It manages, like other packaging systems, pre-checks, dependencies, pre/post install scripting, rights managments of tarballs of files, usually an application, or a part of some underlying libs.
As it depends on unix like functionality, APT/DPKG has been ported to other families of unix, therefore, you can have an OSX made version such as Fink (and/or Macports ?)
that's how I end up apt-get'ing on my iMac as often than on my debian servers and ubuntu lappy...
Bob S. said 2:00PM on 2-28-2008
If the developers who use it are really conscientious, it can be a good thing. But Nokia's Internet Tablets have used it for years and it's hell. Horribly designed and configured, especially in cases where developers assume dependencies are likely to be already installed. The miserable installation system on that is a very big reason I gave up on the Nokia and bought an iPod touch. If this implementation is more like Fink on OS X, then yes, it ought to be a more pleasant experience.
mrengles said 1:30PM on 2-28-2008
Wow. Just installed... This makes installer.app a bench warmer.
Reply
Ivan Silva said 1:49PM on 2-28-2008
tried installing - and phone stuck on reboot screen with loading circle going and going
Jay Freeman (saurik) said 9:12PM on 2-29-2008
Hey, I wrote Cydia, and I can now say that this problem was real for some users, but has now been fixed. I hope people who had this problem are willing to try again after they have restored.
A quick summary: If you used BossTool to move /Applications and then upgraded your phone to a newer firmware, you ended up with two copies of Applications, which confused my installation scripts.
More information (maybe) can be found here:
http://www.telesphoreo.org/ticket/10
http://www.telesphoreo.org/ticket/15
Marc said 1:49PM on 2-28-2008
I made some screenshots of the GUI App:
http://www.marc-seeger.de/2008/02/opensource-installerapp-pendan.html
Looks promising :)
Reply
j0nkatz said 2:05PM on 2-28-2008
Just what I needed...
Some janky linux crap to load on my iPhone.
BSD 4 EVA!
Reply
bmueller said 2:30PM on 2-28-2008
This is really cool ! Having apt-get update and apt-get upgrade on my iPhone. As a Linux user from kernel 0.9 and Fink user on Mac OS X this is really what I need.
This will speed up the availability of applications on the iPhone enormously ! Soon we will have all the GNU stuff available and everything that is now available on the Mac via Fink. The iPhone will be THE mobile application platform.
Actually, I don't see the need for having Linux on this hardware. Why the hell ? This is BSD anyway ?!?
And now it will have all Linux applications ported in no time. Who needs a BlackBerry ? What for ? That's a tool of the old days, Stonehenge, gone ;-)
Apple is back, using the virtues of the old Apple II :
Creating an OPEN platform, that everyone wants to develop for ! And it pays !!!
Reply
Daniel Vargas said 4:54PM on 2-28-2008
toto Dave: Everything that's old always comes back as the new. Check out the Mario Bros. on the iphone. I'm just saying that I hate the fact that a friend sends me a hilarious photo and it cant be viewed with a cutting edge phone... come on now, that precious $600 phone cant view MMS... It will gladly take you to the viewmymessage.com website. Im sure we all love that process. Apple should've been made that the basics. They feed you old updates such as multiple text and expect you to be glad.. no way, not me man,, I'll take it and kick em in the butt for delaying such a basic app.
Reply
kris33 said 8:58PM on 2-28-2008
This is amazing. I simply had to submit it to digg:
http://digg.com/apple/Debian_APT_installation_arrives_on_iPhone
Reply