Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-16-2003, 11:33 AM   #1
LQ Newbie
Registered: Dec 2003
Location: UK
Distribution: Slackware 9.1
Posts: 8

Rep: Reputation: 0
installing .tgz.tar packages

hello all. I've been downloading a few packages from and they all seem to be in this format:


How do I turn them into just .tgz so I can install them? Also, I have been having some bother extracting stuff using ark. It tells me I do not have permission to write to my home directory! Any ideas?

Many thanks
Old 12-16-2003, 12:13 PM   #2
Registered: May 2002
Location: new hampshire
Distribution: Fedora, RHEL
Posts: 600

Rep: Reputation: 110Reputation: 110
number 1, ark is kindof a lame program (as in, it doesn't always do the right thing for me). If you want to untar something, it's easy enough to just type tar -xf <filename> and watch the magic. tar -xzf is for gzip format tarballs and tar -xjf is for bzip2 format tarballs.

number 2, you have to identify what type of file filename.tgz.tar is. Use the file command. (file filename.tgz.tar) if it comes back saying "gzip compressed data" or something along those lines, just change the extension. If it says that it's a "GNU Tar Archive" or some variation of that, then try typing tar -tf filename.tgz.tar and see what files it contains. If it's got the files you need, it's already for extraction, just tar -xf it. If it lists something like filename.tgz then tar -xf if, and then tar -xzf it.

Old 12-16-2003, 12:57 PM   #3
Registered: Sep 2003
Location: Czech Republic - Prague
Distribution: Slackware 9.1
Posts: 61

Rep: Reputation: 15
Try to rename package to 'filename.tgz'.
Old 12-16-2003, 03:46 PM   #4
Senior Member
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
Make sure when you 'Save as' the programs from your browser, to select *all files* instead of something like *Winrar Archive*, or *.tar Archive*.

Or just rename the files to .tgz
mv filename.tgz.tar filename.tgz
Old 12-17-2003, 03:00 AM   #5
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
I've had this problem when occasionally downloading .tgz files using windows, with winzip installed. winzip mangles the filename, adding .tar. Just change the file name to .tgz. Incidentally, .tar.gz and .tgz are the same thing. I have used slackware installpkg to install non-slackware packages that came as .tar.gz, just by changing the suffix to .tgz, then installpkg will handle them.
Old 12-17-2003, 11:52 AM   #6
LQ Newbie
Registered: Dec 2003
Location: UK
Distribution: Slackware 9.1
Posts: 8

Original Poster
Rep: Reputation: 0
that did the trick. renaming them to just .tgz. I have been downloading all that stuff using winrar on windows.

many thanks
Old 12-18-2003, 12:14 PM   #7
Registered: Nov 2003
Location: Mt Dufferin
Distribution: Slackware 12.2
Posts: 73

Rep: Reputation: 15
BUT, why must there be a zillion different files to DL,
just to get one program? ;(
To download gIFT one goes here:
Could someone please help me as to what file to DL?
I just want to DL/Install the thing!
Don't want to recompile (yet!)

Please let me know if there is something better than gIFT. . .
I'm used to KaZaaLite(Death to SpyWare)
P3-800/512/Slackware 9.1


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
installing a tgz.tar package? onegear Slackware 28 09-03-2004 05:57 PM
Installing .tgz (Slackware packages) on other distros deadjoebob Linux - Newbie 3 06-10-2004 10:54 AM
Hard Time Installing Packages That Don't Already Come in *.tgz Format linguae Slackware 7 05-23-2004 04:09 PM
.rpms, .tar.gz, .tgz, .src.rpm, & .tar.bz2 whoots Mandriva 10 10-18-2003 12:08 PM
installing rpm and tgz packages?? Ikik General 6 10-07-2003 08:00 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:31 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration