Apt-get is a linux command that allows you to instantly install software. For example if you were running linux, the command:
sudo apt-get install firefox
would install Firefox Web Browser. For a while, I had thought that this functionality was removed in Mac OSX, luckily this is not the case.
There are two ways to get apt-get on your mac!
Option 1: FINK
- Download Fink
- Open the installer package and install
Now you can install packages by typing:
sudo apt-get install name-of-app
Method 2: PORT
- Install XCode (If you run PPC, the last version for you can be found here.)
That’s it, you can run it by using the command “port” instead of “apt-get”. For example:
sudo port libpng
If you want to install multiple applications at the same time, you can make a list, like so:
sudo port libpng libjpeg fontforge liquidwar gimp
which would obviously install libpng, libjpeg, fontforge, and gimp!
Wade on June 29th, 2010 at 4:48 pm says:
This was very useful and concise! Thank you!
Reinier on August 22nd, 2010 at 10:35 am says:
Where do you manage the software sources?
admin on August 22nd, 2010 at 11:31 am says:
I don’t, macports does…
caravaggisto on June 25th, 2011 at 9:15 pm says:
SWEEEEET.
Anon on February 27th, 2012 at 11:18 am says:
Exactly what I was looking for, Im going to have to bookmark this site, thanks a ton bud.
Maira on March 15th, 2012 at 12:46 pm says:
Can you execute port command in X11??? or where do you need execute it??, because I have already installed Xcode 4.3.1 (IDE) in my MacBook 10.7.3, but when I type “help port” in X11 appear this
-bash: help: no help topics match `port’. Try `help help’ or `man -k port’ or `info port’.
I hope you can help me, because I am confuse about this!!!!
Kees on May 15th, 2012 at 5:23 pm says:
I would recommend Homebrew over Macports – Macports quickly becomes an unmanageable mess and homebrew is far more intuitive and easier to manage…