[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Package Add



On Mon, Jun 11, 2001 at 09:27:03PM -0700, Hervey Allen wrote:
> At 07:38 PM 6/11/01 +0200, Joe wrote:
> >How can i add a package i downloaded from the internet to my freeBSD box.
> >The package is in '.tar.gz', how do i unpack it (i tried gunzip -perhaps i
> >didn't get it right) and add it to my system
> 
> If it's a package, and it installs binary to system directories, then as 
> root type:
> 
>          pkg_add package_name.tar.gz
> 
> If you ever want to unzip and untar a file in tar.gz format you type:
> 
>          tar xvzf filename.tar.gz

Note that any pre-built FreeBSD packages have names ending '.tgz', so it's
possible that what you have is not a package, in which case it won't install
using the first command. You will always be unable to unpack it using the
second and then have a poke around the contents to see what it is - you may
find a README or INSTALL file telling you how to compile/install it.

Brian.

-----
This is the afnog mailing list, managed by Majordomo 1.94.4

To send a message to this list, e-mail afnog at afnog.org
To send a request to majordomo, e-mail majordomo at afnog.org and put
your request in the body of the message (i.e use "help" for help)

This list is maintained by owner-afnog at afnog.org