How to opensuse unpack ".t.Z" files

I have to install a software, but i can´t install because it´s compressed with t.Z.

file : file_name.t.Z

What can i do to solve this…

thks;)

I’m a newbie myself but if you want to extract a tarball go to the directory it’s in then use the tar command. Use flags xvzf. X for eXtract, v for Verbose shows file names are they are extracted, z lets command know it was compressed gz (j if it’s a bz) and f archives name is the same as the tarball.

So this may work for you

> tar xvzf archivename.tar.gz
>cd archivename
>./configure
>make
>make install

Thats as far as my knowledge goes

all the best

On Tue, 07 Sep 2010 23:36:01 +0000, casperg wrote:

> I’m a newbie myself but if you want to extract a tarball go to the
> directory it’s in then use the tar command. Use flags xvzf. X for
> eXtract, v for Verbose shows file names are they are extracted, z lets
> command know it was compressed gz (j if it’s a bz) and f archives name
> is the same as the tarball.
>
> So this may work for you
>
>
>> tar xvzf archivename.tar.gz
>>cd archivename
>>./configure
>>make
>>make install
>
> Thats as far as my knowledge goes
>
> all the best

“Z” as a suffix is typically Unix compress, different from gzip or bzip2.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Thanks Jim for pointing out my mistake, cheers.

If it’s a tar.Z file then I guess you would use.

> uncompress archivename.tar.Z

pt-pt wrote:
> file : file_name.t.Z
>
> What can i do to solve this…

since this is your first post here i’ll say WELCOME and then assume
you have very little knowledge of openSUSE to say:

what do you want to install?
have you used YaST to search for and automatically install the
programs for you…saving you all the trouble of learning how to open
a tar ball, compile, etc etc etc??

just click YaST > Software > Software management and type the name of
the application you wish to install into the search box . . . and,
follow your nose…

alternatively, search here http://software.opensuse.org/search or
herehttp://packages.opensuse-community.org/


DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

Thanks for yours answers!

It´s a proprietary software to use in my studies. The instalation will be done by a graphical installer like MS Windows applications, so i think that i can´t uncompress pack by pack manually.

It´s recomended the instalation of gunzip. I searched, but it´s doesn´t exist for opensuse.

gunzip is the same as gzip?? I have gzip installed but seems that it´s not working.

gunzip is the unzip part of gzip package, since you have gzip
installed you can pack up a file/folder at the command line with:


gzip [options] [name]

and then unpack it with:


gunzip [options] [name]

see lots more info on both at the command line with these:


man gzip
info gzip


DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

True, but I believe gzip handles .Z files, and the -z option to tar just indicates to use gzip. I still think “tar -xvzf <filename>” would work, and actually I habitually get away with “tar -xf <filename>” even on gzipped tarballs, but I don’t think that is documented, so I wouldn’t recommend it. Tar is wierd in that the “-” is optional, I tend to use it.

Edit:

there is a -Z option to use the compress program, so “tar -xZvf <filename>” could also work.

Malcolm