On Wed, Jul 16, 2008 at 12:37:10PM -0500, Shawn Walker wrote:

> Dan Anderson wrote:
> > I'm very surprised that mercurial is not part of opensolaris 2008.05
> > 
> > Not only is it not a part of opensolaris, it's not even in the package 
> > database.
> > 
> > Can anyone recommend a third-party source to download mercurial/hg?  I 
> > rather not compile from source! Thanks.
> > 
> > # ls /usr/bin/hg
> > /home/da73024/bin/i86pc/ls: cannot access /usr/bin/hg: No such file or 
> > directory
> > # which hg
> > no hg in /usr/sbin /usr/bin
> > # pkg refresh
> > # pkg list -s |egrep -i 'hg|mercurial'
> > # cat /etc/release
> >                         OpenSolaris 2008.05 snv_86_rc3 X86
> >  
> 
> pkg install SUNWmercurial
> 
> The current search / list mechanisms don't do partial matching.
> 
> In general, I suggest visiting http://pkg.opensolaris.org/status and 
> just using your web browser's find to find things easily.

pkg search -r /usr/bin/hg

would have worked as well.  Note that to find things not installed on your
system, you have to specify the -r flag to search and info (list takes -a,
but -as seems to have problems, and takes a long, long time, even with the
recent speed improvements to list).  Search will return both full pathnames
and basenames.

Danek
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to