Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

put on hold as off-topic by muru, GAD3R, steve, Eric Renouf, heemayl yesterday

  • This question does not appear to be about Unix or Linux within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

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. – richard 2 days ago
5  
iOS is not Unix or Linux - this should be posted on Ask Different – muru 2 days ago
    
a few words about iPhone is just to make things clear. Generally, this question is about bringing apt-get to mac – MrCheatak 2 days ago
    
Have a look in Macports or Homebrew. – shallowThought 2 days ago
    
In my question I said, that I tried brew. – MrCheatak 2 days ago
up vote 2 down vote accepted

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

share|improve this answer

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?

share|improve this answer
    
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 2 days ago
    
This is about IOS and not OS X/macOS. – phk yesterday

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