Wednesday, February 15, 2012

MacPort is very BSD(ish)

To install opensource applications in your MacOS -- all you need is just a single command! It is equivalent to BSD port and Linux package management.

Firstly, you need to install Xcode then follow by MacPort. Once done, execute your Terminal and install whatever software(s)
available in MacPorts.

  • To search for a program so called mpg123 (as an example)
    port search mpg321

  • If you want to install mpg321; just type this..
    sudo port install mpg321

  • To delete all intermediates files after installing ....
    sudo port clean --all mpg321

  • To list all outdated packages that you have installed..
    port outdated

  • To just upgrade only one particular application(example mpg321) ..
    sudo port upgrade mpg321

  • To upgrade all outdated packages...
    sudo port upgrade outdated

  • To uninstall program and its dependencies
    sudo port -fp uninstall --follow-dependents mpg123
  • No comments: