[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Package and file finder for OpenBSD (finally!)
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: Package and file finder for OpenBSD (finally!)
- From: Henning Brauer <lists-openbsd_(_at_)_bsws_(_dot_)_de>
- Date: Wed, 13 Apr 2005 14:56:32 +0200
- Mail-followup-to: misc_(_at_)_openbsd_(_dot_)_org
* Mark Redding <mark_(_dot_)_redding_(_at_)_datatote_(_dot_)_co_(_dot_)_uk> [2005-04-13 14:12]:
> > On Friday 08 April 2005 20.10, Han Boetes wrote:
> > > Matt Van Mater wrote:
> > > > export PKG_PATH=ftp://ftp3.usa.openbsd.org/pub/OpenBSD/`uname -a
> > > > | cut -d" " -f 3`/packages/`uname -a | cut -d" " -f 5`/
> > > uname -m is easier.
> > machine(1)
> man uname(1)
>
> # uname -r
> 3.6
> #
> #uname -m
> i386
> #
look, it is all about the archs with ARCH != MACHINE_ARCH.
for ports you want teh architecture. arch -s gives you that.
uname -m returns the machine arch.
<henning_(_at_)_rancisis> $ arch -s
m68k
<henning_(_at_)_rancisis> $ uname -m
hp300
--
BS Web Services, http://www.bsws.de/
OpenBSD-based Webhosting, Mail Services, Managed Servers, ...
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
Visit your host, monkey.org