Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the equivalent of "aptitude" in Mac OSX?

Tags:

How to do "sudo apt-get install " on OSX?

like image 461
TIMEX Avatar asked Aug 24 '10 07:08

TIMEX


People also ask

What is the Mac equivalent of aptitude?

MacPorts, formerly called DarwinPorts, is a package management system that simplifies the installation of software on the Mac OS X and Darwin operating systems. It is a free/open source software project to simplify installation of other free/open source software.

What software does aptitude work with?

aptitude is a text-based interface to the Debian GNU/Linux package system. It allows the user to view the list of packages and to perform package management tasks such as installing, upgrading, and removing packages.

How do I run aptitude?

The common use of aptitude in TUI (text user interface) is; run aptitude; press 'u' (update the lists of available packages); press 'U' (Mark all upgradable packages to be upgraded); (search/select some stuff to install, is optional); press 'g' (to see the pending actions and modify if needed); press 'g' (again, to ...


1 Answers

Others have mentioned MacPorts and Homebrew; it might be worth noting the difference between them.

MacPorts works for me, happily enough. But it has the very annoying feature that it wants to install everything. Thus on several occasions, I've had to drag it back from trying to install its own version of Perl, ignoring the system one, or TeX, and even gcc. Now, the reason for this is, I imagine, that if it were to rely on the system versions of these (or any preinstalled one in the case of TeX), there might be some version-skew issue that would cause something to break. And disk space is cheap. That's probably true, sort of, but it still seems a bit obsessive (and I'm not sure I want to use anything that's quite so dependent on specific versions). Sensible or not, it sets my teeth on edge every time it happens.

Homebrew, in contrast, specifically aims not to duplicate tools that are already installed. When MacPorts does its install-the-world thing, I usually end up killing it and installing the package with the mad dependencies by hand, so I've never quite been driven to the point of using Homebrew, but I've been on the point of doing so, ever since I first heard about it.

like image 75
Norman Gray Avatar answered Sep 20 '22 01:09

Norman Gray