Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am new to Mac OS command line, I want to use either of apt-get or yum.

Can anyone help me to install them and make them successful running?

share|improve this question
2  
Why do you want to install them? What software do you want to install that you expect to find as .deb or .rpm files which will work on an OS X install? –  Michael Kjörling Jun 26 '13 at 11:08
    
Both utilities are too Linux-specific (and/or too Fedora/Debian-specific) so they won't work on OSX without serious effort on your part,so Michael's question stands: what exactly is it you want to do? –  schaiba Jun 26 '13 at 11:30
add comment

2 Answers

If you want the equivalent to apt-get or yum on Mac OS X, you have two choices.

  1. Homebrew: http://brew.sh
  2. Macports: http://www.macports.org

You can use brew install PACKAGE_NAME or port install PACKAGE_NAME to install the package available.

share|improve this answer
add comment

It is possible to use apt-get on OS X 10.9 like Deb based Linux using a third party software named Fink - How to Install apt-get on Mac OS X. However, unlike Homebrew and OS X Package Managers, Fink does not use /usr/local/ path to install software. It simply means, Fink is for a bit advanced users who can handle the software conflicts (for difference in version). Homebrew, to me is the best package manager...

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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