pkg_add and regex

Michael bsd4me at cableone.net
Thu Feb 4 14:39:35 CET 2010


On Thu, Feb 04, 2010 at 11:01:04PM +1100, Chris Henderson wrote:
> I been trying to install firefox and seems like regex doesn't work
> with pkg_add when I look for the package; pkg_add -iv firefox or
> pkg_add -iv "*firefox*" doesn't install anything.
> 
> I have to ftp to the package directory and find out the exact name of
> the firefox package and then do pkg_add in order to install it.
> 
> Also noticed things are different with mutt. If I do pkg_add -iv mutt,
> I get a list to choose from.
> 
> Is there any easy way around installing firefox or packages whose
> names are not so obvious?
> 
> Thanks.

I download the index.txt file, grep the file I'm looking for,  then copy and paste into my pkg_add command.
I have to be on an linux box right now, so can't show the grep command and response :(

Mike

> _______________________________________________
> Openbsd-newbies mailing list
> Openbsd-newbies at sfobug.org
> http://mailman.theapt.org/listinfo/openbsd-newbies


More information about the Openbsd-newbies mailing list