Package managers for OS X

Installing common *nix applications from source on OS X can be a real pain in the neck. It may even defeat Slackware in some occasions :p Tools provided by Macports and Fink make life much easier and productive. On the following example, Fink is used to install gnuplot by using the Debian-like apt-get:

panoskrt$ uname -rs
Darwin 9.6.0
panoskrt$ sudo apt-get install gnuplot
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  aquaterm aquaterm-shlibs gd2-shlibs libjpeg-bin pdflib-shlibs readline-shlibs texinfo
The following NEW packages will be installed:
  aquaterm aquaterm-shlibs gd2-shlibs gnuplot libjpeg-bin pdflib-shlibs readline-shlibs texinfo
0 packages upgraded, 8 newly installed, 0 to remove and 0  not upgraded.
Need to get 5461kB of archives. After unpacking 13.6MB will be used.
Do you want to continue? [Y/n] y
Get:1 10.5/release/main aquaterm-shlibs 1.0.0-1003 [31.6kB]
Get:2 10.5/release/main aquaterm 1.0.0-1003 [88.2kB]
Get:3 10.5/release/main libjpeg-bin 6b-17 [130kB]
Get:4 10.5/release/main gd2-shlibs 2.0.33-3 [130kB]
Get:5 10.5/release/main texinfo 4.8-1002 [1013kB]
Get:6 10.5/release/main readline-shlibs 4.3-1028 [108kB]
Get:7 10.5/release/main pdflib-shlibs 5.0.1-2 [1827kB]
Get:8 10.5/release/main gnuplot 4.0.0-1005 [2133kB]
Fetched 5461kB in 43s (126kB/s)
Selecting previously deselected package aquaterm-shlibs.
(Reading database ... 5617 files and directories currently installed.)
Unpacking aquaterm-shlibs (from .../aquaterm-shlibs_1.0.0-1003_darwin-i386.deb) ...
Selecting previously deselected package aquaterm.
Unpacking aquaterm (from .../aquaterm_1.0.0-1003_darwin-i386.deb) ...
Selecting previously deselected package libjpeg-bin.
Unpacking libjpeg-bin (from .../libjpeg-bin_6b-17_darwin-i386.deb) ...
Selecting previously deselected package gd2-shlibs.
Unpacking gd2-shlibs (from .../gd2-shlibs_2.0.33-3_darwin-i386.deb) ...
Selecting previously deselected package texinfo.
Unpacking texinfo (from .../texinfo_4.8-1002_darwin-i386.deb) ...
Selecting previously deselected package readline-shlibs.
Unpacking readline-shlibs (from .../readline-shlibs_4.3-1028_darwin-i386.deb) ...
Selecting previously deselected package pdflib-shlibs.
Unpacking pdflib-shlibs (from .../pdflib-shlibs_5.0.1-2_darwin-i386.deb) ...
Selecting previously deselected package gnuplot.
Unpacking gnuplot (from .../gnuplot_4.0.0-1005_darwin-i386.deb) ...
Setting up aquaterm-shlibs (1.0.0-1003) ...
Setting up aquaterm (1.0.0-1003) ...
Setting up libjpeg-bin (6b-17) ...

Setting up gd2-shlibs (2.0.33-3) ...
Setting up texinfo (4.8-1002) ...
* Texinfo: (texinfo).           The GNU documentation format.
install-info(/sw/share/info/texinfo): creating new section `Texinfo documentation system'
* info standalone: (info-stnd).            Read Info documents without Emacs.
* Info: (info). How to use the documentation browsing system.

Setting up readline-shlibs (4.3-1028) ...
Setting up pdflib-shlibs (5.0.1-2) ...
Setting up gnuplot (4.0.0-1005) ...
* GNUPLOT: (gnuplot). An Interactive Plotting Program
install-info(/sw/share/info/ creating new section `Math'

panoskrt$ which gnuplot;



2 thoughts on “Package managers for OS X

  1. Hi,

    man, you’re seriously oudated here. Try Macports plz. These macports are wayyyy much more sofisticated, up-to-date and clean than all the options that you gave us in this post 🙂

    Last login: Sun Mar 8 10:39:57 on ttys000
    Angel:~ atma$ uname -a
    Darwin Angel.local 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386 i386
    Angel:~ atma$ sudo port list installed|grep -i irssi
    irssi @0.8.12 irc/irssi
    Angel:~ atma$ sudo port info irssi
    irssi @0.8.12, Revision 1 (irc)
    Variants: darwin_6, perl, universal

    Irssi is a modular IRC client that currently has only text mode user interface, but 80-90% of the code is not text mode specific, so other UIs could be created pretty easily.
    Also, Irssi is not really even IRC specific anymore, there’s already a working SILC module available. Support for other protocols like ICQ could be created some day too.

    Library Dependencies: gettext, glib2, libiconv, ncurses, openssl, zlib
    Platforms: darwin
    Angel:~ atma$

  2. panoskrt

    Pano, thanks for pointer. I thought that Darwinports and Macports were the same but indeed their repositories are different and Darwinports development seem to have stopped time ago.
    I replaced Darwinports with Macports in the post…

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s