I need to install tweaks' packages on an jailbroken iPhone via SSH. But apt-get is not included in mac command line tools. I've found that brew can be used, but it doesn't seem to work when ssh'ing iPhone.

Tweaks are installed apt-get install com.author.thweakname

How do I execute it in mac Terminal?

  • 1
    apt-get is not a general Unix thing. It is just Debian and its derivatives. Mac is not debian (though it may be possible to install apt on it). Also IOS is not MAC OS. – ctrl-alt-delor Jan 7 '17 at 11:41
  • 5
    iOS is not Unix or Linux - this should be posted on Ask Different – muru Jan 7 '17 at 11:54
  • a few words about iPhone is just to make things clear. Generally, this question is about bringing apt-get to mac – MrCheatak Jan 7 '17 at 11:58
  • Have a look in Macports or Homebrew. – shallowThought Jan 7 '17 at 11:58
  • In my question I said, that I tried brew. – MrCheatak Jan 7 '17 at 12:00

apt-get is a Debian and Debian based tool for package management.

It will not run on the iPhone correctly without major efforts to modify the code and packages you are wanting to run/install


I used fink on MacOSX in the past as a package installer, but that is many versions of MacOSX ago so might not be available anymore?

  • macOS does have a native package installer, see the manual for e.g. installer and pkgutil. I'm not aware of any third-party supplier of packages for this on the scale of Homebrew or any the other projects though. It's mostly used for packages from the "App Store" I believe. – Kusalananda Jan 7 '17 at 21:01
  • This is about IOS and not OS X/macOS. – phk Jan 8 '17 at 10:56

Not the answer you're looking for? Browse other questions tagged or ask your own question.