Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jul 2003 17:58:39 -0400
From:      Matthew Graybosch <matthew@starbreaker.net>
To:        "Michael L. Squires" <mikes@siralan.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to install a tar.gz from console.
Message-ID:  <200307261758.39723.matthew@starbreaker.net>
In-Reply-To: <200307262149.h6QLnGs1055098@siralan.org>
References:  <200307262149.h6QLnGs1055098@siralan.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 26 July 2003 05:49 pm, Michael L. Squires wrote:
> > How do u install tar.gz packages from terminal.
>
> cd <install-directory>
> tar xvfz <tar.gz directory>/<file-name>.tar.gz
>
> or am I missing something?

Are you trying to install a software package with a name like 
foobar.tgz? You have to use the pkg_add tool.

If you just want to unzip it, then tar xzvf $archive will do, or tar 
xjvf $archive if it's compressed with bzip2 (*.tar.bz2) instead of 
gzip (*.tar.gz) 

Does this help?

-- 
Matthew Graybosch
http://www.starbreaker.net
"I am become root, shatterer of kernels."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307261758.39723.matthew>