LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-16-2003, 12:33 PM   #1
slack_is_good
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 linuxpackages.net and they all seem to be in this format:

'filename.tgz.tar'

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, 01:13 PM   #2
orgcandman
Member
 
Registered: May 2002
Location: new hampshire
Distribution: Fedora, RHEL
Posts: 600

Rep: Reputation: 109Reputation: 109
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.

Aaron
 
Old 12-16-2003, 01:57 PM   #3
minio
Member
 
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, 04:46 PM   #4
xushi
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, 04:00 AM   #5
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,902

Rep: Reputation: 590Reputation: 590Reputation: 590Reputation: 590Reputation: 590Reputation: 590
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, 12:52 PM   #6
slack_is_good
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, 01:14 PM   #7
dufferin
Member
 
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:
http://sourceforge.net/project/showf...group_id=34618
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)
Thanks,
John.
P3-800/512/Slackware 9.1
 
  


Reply


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 06:57 PM
Installing .tgz (Slackware packages) on other distros deadjoebob Linux - Newbie 3 06-10-2004 11:54 AM
Hard Time Installing Packages That Don't Already Come in *.tgz Format linguae Slackware 7 05-23-2004 05:09 PM
.rpms, .tar.gz, .tgz, .src.rpm, & .tar.bz2 whoots Mandriva 10 10-18-2003 01:08 PM
installing rpm and tgz packages?? Ikik General 6 10-07-2003 09:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:53 PM.

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