Tag Info

Hot answers tagged

40

bash-completion adds completion for: Command names after sudo and which Macports and Homebrew package names (optional) Hostnames in known_hosts for commands like ssh Folders on CDPATH And so on. You can print a list of completion commands with complete -p and see the source of a function with declare -f. Installing bash-completion with Homebrew $ brew ...


25

I used to use Macports because: It is generally more up to date Macports seems to be more common / popular Everyone else I work with uses it When I did my own research on this topic when I got my MBP last fall, Macports seemed to be most commonly recommended for reason #1 above, hence reason #2 (and probably reason #3). Compiling every package doesn't ...


15

I prefer homebrew due to its simplicity/speed -- my tools seem to be getting updated quickly at the moment. It's the most painless source based package management tool I've used and development seems quite active. What more could you want? (Yes, all the missing apps)


15

IMHO, the problem with Homebrew is it tries to use /usr/local in a way it was never meant to be used: owned by a user other than root. While I understand the homebrew developers take care not to munge with anything else in /usr/local, nothing else that installs to /usr/local will do the same for Homebrew. This can cause problems, and has for me... usually ...


13

You don't have to pick between the two. MacPorts installs software to /opt/local. Fink installs to /sw. Both leave the Darwin base system untouched, and the two can co-exist peacefully. Fink's binary packages are great, but they aren't always up-to-date. I tend to use Fink when they've got an up-to-date package, and I build from MacPorts if they don't. ...


8

There isn't an official package manager for OS X. Fink, MacPorts, and Homebrew provide their own differing features and functionality to fill this void. As pointed out by many users: avoid using /usr until you configure your PATH, packages from different directories won't be found.


6

Although there is no official Unix / FOSS package manager for Mac OS X, it should be noted that MacPorts was created and is still primarily maintained by Apple's Mac OS X / Darwin engineers. The macports.org website is hosted on Apple's servers, as part of Apple's "MacOSForge.com" project. Because Mac OS X / Darwin is *BSD based, many of Apple's Unix-layer ...


6

I use both Fink and Macports. Both work like a charm. But I might recommend Homebrew to not so expert user who are just migrating from windows, due to its apparent simplicity.


5

There is no official package manager for OS X. Fink is probably saying it's not installed because it's not installed in the Fink path. I ran into problems when installing something from either Fink or MacPorts, or duplicate copies with different version numbers. Pick one and stick to it. If you feel you have to change, it would be best to wipe out the ...


5

Homebrew will cause problems when building software from source if it is installed in /usr/local. This is the default, which is a bad choice as this path is in the default search path of compilers and other tools. Therefore builds from other packaging software might pick up the wrong dependency, using Homebrew's version instead of their own. Years ago, in ...


4

I can mainly speak for MacPorts, but I'm sure this applies to at least Fink and likely Homebrew as well. There are no background processes at all for the MacPorts package installer. It's just a system that keeps track of installed ports and maintains dependencies in its own self-contained /opt/local directory (with few exceptions). If you install some sort ...


4

Fink partisan here, because The packages of interest to particle physicists (like me!) are very up-to-date I use debian on my linux boxes. The fink command line is a lot like aptitude, and I'm used to the dpkg underpinnings


4

If you only install a few programs, anything (fink, macports, homebrew) will be fine. But if you are a heavy user, I think only macports is suitable. fink's package is a bit too old. homebrew is a too young project. Also, recently I've heard someone using pkgsrc on mac os x. And I may give pkgsrc a try. (I am using macports now, and have 418 ports ...


3

Try "Self update Rsync" under Source; that should update your mirrors. About Fink mirrors: Fink - F.A.Q. - Mirrors XCode 3.1.2 is at Apple ADC Member


3

The version of svn you're seeing came with Mac OS X -- not from Fink or any other source. You can identify different versions using bash's type command. For example, I use MacPorts and installed a newer version of sqlite3: $ type -a sqlite3 sqlite3 is /opt/local/bin/sqlite3 sqlite3 is /usr/bin/sqlite3 The version in /opt/local/bin came from MacPorts, the ...


2

It is possible to install daemon processes via Fink, MacPorts and Homebrew but in all cases, you need to manually run launchctl to add that process to launchd You are more likely to cause yourself a problem by manually installing from a source tarball than by a package manager. Or by using two or more package managers. As an example, don't try and install ...


2

the -r problem of xargs can simply be avoided by using the backquotes: fink purge `fink list | perl -lne '/^\s*i\s+(\S+)/ and print $1'`


2

As I noted in the comments, but failed to answer... http://search.cpan.org/dist/App-perlbrew/bin/perlbrew is the best tool for doing this.


2

bridge-utils is very specific to Linux. It's the way to administer the Linux kernel's specific bridging capabilities, and only applies to Linux, not other Unix-like OSes. Mac OS X's "Darwin" Unix layer is based on BSD (mostly FreeBSD, with some pieces borrowed from the other BSDs). In BSD-style OSes, you create bridge interfaces with ifconfig(8). ...


1

I'm not familiar with fink, but I'm assuming that fink list puts out a line for each package and for those installed they're of the format: i packagename. The problem is that you're using s and S (the literal characters) instead of \s and \S: whitespace and non-whitespace, respectively. The correct line is probably: fink list | perl -lne '/^\s*i\s+(\S+)/ ...


1

Let me answer that from the MacPorts perspective I come from, as these problems of co-existing software management tools are not unknown there. Most importantly, there simply is no way to remove /usr/local from the default compiler search paths. This may lead to problems with some builds, especially during a multi-architecture +universal compilation. In the ...


1

I generally prefer using MacPorts to Fink, as in my experience things tend to work better and more packages are available in MacPorts. Looking at this Fink page for its Python 2.4 package, it doesn't appear to be available for 10.6. MacPorts has these versions of Python available for 10.6: python21 @2.1.3 lang/python21 ...


1

I believe it should be: fink install swi-prolog The package name is swi-prolog. Fink will take care of getting the right version. You may also find apt-cache helpful: apt-cache search prolog EDIT: I think the issue is that swi-prolog and gprolog are in the unstable section. The Fink FAQ explains how to turn unstable on. After following those ...


1

Could you clarify more? What are you trying to accomplish? Check that you have X11 installed in your Utilities folder; if it's missing, install it from the Snow Leopard DVD, the Optional Installs package. Once that's in place, install Xcode. It can also be installed from the Snow Leopard DVD, or a newer version can be downloaded from Apple's Developer ...



Only top voted, non community-wiki answers of a minimum length are eligible