DEB File Icon

When you jailbreak your device, you don’t always have to rely on Cydia to get all your software.

Sometimes a developer might send you a Debian (.deb) package to install for beta testing, or if you’re talented in the arts of programming, you can make your own .deb packages to install on your device for yourself.

Some of you may have been accustomed to using the antiquated SSH method for eons now, and there’s nothing wrong with that, but there’s actually an easier way to install .deb files on your devices.

Veteran jailbreakers are probably already very aware of how to do this, but to benefit everyone who may be newer to jailbreaking, we’ve thrown together a few steps you can follow to make life easier.

Without even needing to SSH into your device, you can simply use the popular iFile file system browser app from Cydia to install .deb files. This method only takes a few taps on the device itself and is undoubtedly easier to follow, especially for those newer to jailbreaking.

To install .deb files with iFile, you’ll only need to follow these steps:

1) Download and install iFile from Cydia on your jailbroken iPhone or iPad if you don’t already have it; it’s a free download.

iFile Installed Cydia

2) From your computer, email the .deb file to one of the email accounts present on your jailbroken device.

Deb File In Email

3) Now refresh your email on your jailbroken device from the Mail app, and the .deb file will appear as an attachment with the iFile icon on it. Tap on the attachment.

Deb File In iOS Email

4) When the iOS share sheet pops up, tap on the Copy to iFile option.

Installing Deb File Copy to iFile

5) iFile will now launch and attempt to open the .deb file. In the pop-up menu, tap on the Installer button.

iFile Installer DEB File

iFile will now go through the process of installing the .deb file. This should only take a couple of seconds, but time varies depending on how old your device is due to speed differences in the CPU.

You will now get one of two outcomes: 1) the installer will finish with the result code 0, or 2) the installer will finish with a result code besides 0.

iFile Install DEB File Result Codes

If you got the result code of 0, then you’re good to go and you can respring or reboot your device to complete the installation of the .deb file. If you got a result code besides 0, then there was a problem with the installation.

In the case of result code 256 shown above, this just means the .deb file (tweak) depended on another package to be installed and it wasn’t already on our device. By looking at the white text shown above, iFile tells us that we need to install AppList from Cydia, which was a dependency required to run this tweak.

If you simply go to Cydia and install whatever dependency was declared by the installer and then respring or reboot your device, you’ll be good to go.


Have you ever installed .deb files with iFile before? If not, how did this method work for you? Share in the comments!

  • Agneev Mukherjee

    Nerd alert!

  • Rowan09

    This is off topic but Cydia Impactor for laptop is amazing. All you need is to register the IOS device through Apple and just select any IPA from the web and it will install it on your device. It automatically fixes any code signing issues unlike Xcode. I think you guys should do a video on how to install Kodi with Cydia impactor without a jailbreak.

  • hkgsulphate

    how about non-jailbroken with .deb 🙁

    • Bradley Hines

      I’m sorry to say but that isn’t possible on a non jailbroken iOS.

    • nova voter

      isn’t that the whole point of a jailbreak?

    • You can’t install Debian files on a non-jailbroken device. You would need to make your apps through Xcode and side-load them. Unfortunately, this isn’t as powerful as jailbreaking and tweaking iOS.

  • Mecatrônicos Salê

    I miss that time … now I can no longer use iFile because no hacker was able to release a jailbreak for my iphone 4S 🙁

  • CD Mojo

    Thanks for the article, Anthony! Perfect timing because it so happens that I have a .deb file and I wasn’t sure how to install it. I figured that iFile would be the logical method since it allows access to the file system, but I’m glad you laid it out step by step. This file is actually the original version of a tweak that failed to function on my devices after it was updated for the 9.3 JB. So the developer was nice enough to send me the version that worked before.
    My question is, however, after installing using iFile will the tweak be listed in Cydia under my Installed apps? Because I’m wondering if I need to uninstall it, that I would be able to do so in the usual way using Cydia or if it does not show in Cydia then I would have to find it in the file system in order to delete it?

    • Fábio Cardoso

      I have the same question. Do You got an answer?