Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

What are the equivalent yum commands of the following MacPorts port commands?

  • search
  • self-update
  • installed (list)
  • outdated (list)

Are some things completely different from MacPorts?

share|improve this question

migrated from Nov 8 '09 at 3:51

This question came from our site for system and network administrators.

I wonder if I mentioned that I need this knowledge to manage a pair of CentOS servers, the question would not have been migrated. Not that I care. – kch Nov 8 '09 at 16:51
You're lucky it didn't get deleted for having "can haz" in the title. Very unprofessional. – Chris S Mar 24 '11 at 16:48

For the specific commands you listed (in order)....

  • yum search
  • yum upgrade yum
  • yum list installed
  • yum list updates or yum check-update

For any others, I would recommend reading the man page. It is very well written, and contains a lot more information.

The biggest differences you will probably notice are:

  1. Installs will happen much faster since the packages do not have to be compiled
  2. You will be presented a list of every package that will be installed (including dependencies) for review before the install actually happens.
share|improve this answer

Your Answer


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.