Archiving Cydia installation packages on the iPhone

October 1st, 2008 | Categories: iPhone | Tags: ,

An interesting question was posed at PDAPhoneHome about downloading jailbroken apps on the iPhone for archival purposes.  Without getting into whether this is necessary or not, here’s how you do it:

First, install MobileTerminal, run it, and then switch to root (or install OpenSSH and SSH in as root) – you can install from either Cydia or Installer:

su root

(default password is “alpine”, without quotes)

Then, use apt to download the package:

apt-get install <packagename> -d

The files are saved to /var/cache/apt/archives

You can back this file up via SFTP, and install from it using the following commandline:

dpkg -i <package.deb>

Note that <packagename> and <package.deb> will likely be different.

Comments are closed.