5
1
I use Ubuntu at work and a Mac at home.
I was trying out some shell commands on my bash terminal on the Mac today but they didn't work. I was told both machines should operate UNIX commands so the terminal commands should be the same.
However I can't use apt-get install
among other commands. Why is that?
What should I type on a Mac instead of apt-get
? Is there anyway to use the same commands on both systems?
3
OS X doesn't come with a package manager, and they don't really fit with OS X's philosophy of software installation. Nonetheless, there are package managers available for OS X: homebrew, MacPorts, and fink (though I've heard fink isn't very well maintained recently). Of course, none of them use the
– Gordon Davisson – 2011-07-27T03:29:14.367apt-get
command...I didn't know about any of those. Thanks! Of course, if someone is dead-set on using the
apt-get
command you can always create an alias though providing all the other functions would be trickier. – Yitzchak – 2011-07-27T13:26:41.343