D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Installing

 

On Tue, 19 Jul 2011 20:02:00 +0000
Jack Oley wrote:

> Can anybody tell me how I install a tar.gz package, please?  I've got
> it in my Dowloads folder; I open the terminal and enter the command,
> tar xfvz eldy23.tar.gz  and get the error, "Cannot open: No such file
> or directory".  Am I doing something incorrectly?  Is there an
> easier / better way to install a tar.gz file??  Thanks for any
> help.    Jack.                                          

I usually use the following:
 tar zxpvf blah.tar.gz
or
 tar jxpvf blah.tar.bz2
According to "man tar":
 x = extract
 p = preserve permissions
 v = verbose
 f = from the file (in this case, f blah.tar.gz)
 zj= filter archive through gzip/bzip2

Grant.

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq