LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 08-02-2004, 08:53 AM   #1
onegear
LQ Newbie
 
Registered: Aug 2004
Location: Indianapolis, IN
Distribution: FreeBSD, Slackware
Posts: 14

Rep: Reputation: 0
installing a tgz.tar package?


I'm fairly new to Slackware and have a couple of packages that I would like to install that are in tgz.tar form. How are these packages installed? I searched the web for answers but couldn't find anything on this specific pakage format.

Thanks!
 
Old 08-02-2004, 09:12 AM   #2
darin3200
Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
Check this out
http://www.linuxquestions.org/questi...ticle&artid=15
 
Old 08-02-2004, 09:12 AM   #3
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
I can't see the packager's interest to tar/gz an archive and after retar it, it is curious...

Anyway try that :
tar x package.tgz.tar

then try :
zcat package.tgz | grep slack

If the output is positive, then it is a slackware package else, it isn't a package that you can install with installpkg
 
Old 08-02-2004, 09:28 AM   #4
onegear
LQ Newbie
 
Registered: Aug 2004
Location: Indianapolis, IN
Distribution: FreeBSD, Slackware
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks for the help!

The package that I'm going to attempt to install is swaret. Currently, since the swaret site is down, there doesn't seem to be a Slackware package of it. Just the tgz.tar package on the sourceforge site.

Thanks again.
 
Old 08-02-2004, 09:45 AM   #5
onegear
LQ Newbie
 
Registered: Aug 2004
Location: Indianapolis, IN
Distribution: FreeBSD, Slackware
Posts: 14

Original Poster
Rep: Reputation: 0
Unfortunately, I still am unable to get it installed.

I followed the link above but when I ran tar zxf swaret-1.6.2-noarch-1.tgz.tar, I received the following:

bash-2.05b# tar zxf swaret-1.6.2-noarch-1.tgz.tar
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
bash-2.05b#


I tried tar x swaret-1.6.2-noarch-1.tgz.tar and received no error at all. I just sat there and did nothing.
 
Old 08-02-2004, 09:47 AM   #6
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
When you did tar x swaret-1.6.2-noarch-1.tgz.tar, it is supposed to untar the archive, so it populated the file : swaret-1.6.2-noarch-1.tgz

do a ls, you will see...

After that, install the package :
installpkg swaret-1.6.2-noarch-1.tgz
 
Old 08-02-2004, 09:50 AM   #7
onegear
LQ Newbie
 
Registered: Aug 2004
Location: Indianapolis, IN
Distribution: FreeBSD, Slackware
Posts: 14

Original Poster
Rep: Reputation: 0
Cedrik,

Thanks for the help.

When I run tar x swaret-1.6.2-noarch-1.tgz.tar, it just sits there and does nothing. Is it possible that it will take a while before it's completed?

Thanks.
 
Old 08-02-2004, 10:01 AM   #8
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
ok...

What is the output with this command :
Code:
ls
 
Old 08-02-2004, 10:05 AM   #9
onegear
LQ Newbie
 
Registered: Aug 2004
Location: Indianapolis, IN
Distribution: FreeBSD, Slackware
Posts: 14

Original Poster
Rep: Reputation: 0
bash-2.05b# ls
swaret-1.6.2-noarch-1.tgz.tar
bash-2.05b#

This is after attempting to run tar x swaret-1.6.2-noarch-1.tgz.tar, which, never seems to finish.
 
Old 08-02-2004, 10:10 AM   #10
darin3200
Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
Don' just use 'x' alone, use it with 'v' for verbose so you can see what is happening.
EDIT:
I just download swaret and used 'tar -zxvjf swaret.tgz.tar' and it worked it fine.
Code:
root@localhost music # tar -zxvf swaret-1.6.2-noarch-1.tgz.tar 
./
etc/
etc/swaret.conf.new
usr/
usr/doc/
usr/doc/swaret-1.6.2/
usr/doc/swaret-1.6.2/FAQ
usr/doc/swaret-1.6.2/HELP
usr/doc/swaret-1.6.2/TODO
usr/doc/swaret-1.6.2/LICENSE
usr/doc/swaret-1.6.2/README
usr/doc/swaret-1.6.2/HOW-TO-USE-SWARET/
usr/doc/swaret-1.6.2/HOW-TO-USE-SWARET/htus.ENGLISH
usr/doc/swaret-1.6.2/HOW-TO-USE-SWARET/htus.POLISH
usr/doc/swaret-1.6.2/swaret.conf
usr/doc/swaret-1.6.2/ChangeLog
usr/man/
usr/man/man5/
usr/man/man5/swaret.conf.5.gz
usr/man/man8/
usr/man/man8/swaret.8.gz
usr/sbin/
usr/sbin/swaret
usr/share/
usr/share/swaret-1.6.2/
usr/share/swaret-1.6.2/swaret.lang.ARABIC
usr/share/swaret-1.6.2/swaret.lang.ESPANOL_MX
usr/share/swaret-1.6.2/swaret.lang.PORTUGUES
usr/share/swaret-1.6.2/swaret.lang.ENGLISH_GB
usr/share/swaret-1.6.2/swaret.lang.DEUTSCH
usr/share/swaret-1.6.2/swaret.lang.POLISH
usr/share/swaret-1.6.2/swaret.lang.SLOVAK
usr/share/swaret-1.6.2/swaret.lang.DANSK
usr/share/swaret-1.6.2/swaret.lang.CZECH
usr/share/swaret-1.6.2/swaret.lang.MALAY
usr/share/swaret-1.6.2/swaret.lang.NORSK
usr/share/swaret-1.6.2/swaret.lang.RUSSIAN.koi8r
usr/share/swaret-1.6.2/swaret.lang.ENGLISH
usr/share/swaret-1.6.2/swaret.lang.LITHUANIAN
usr/share/swaret-1.6.2/swaret.lang.ESPANOL
usr/share/swaret-1.6.2/swaret.lang.PORTUGUES_BR
usr/share/swaret-1.6.2/swaret.lang.SVENSKA
usr/share/swaret-1.6.2/swaret.lang.NEDERLANDS
usr/share/swaret-1.6.2/swaret.lang.BULGARIAN
usr/share/swaret-1.6.2/swaret.lang.FRANCAIS
usr/share/swaret-1.6.2/swaret.lang.ITALIANO
usr/share/swaret-1.6.2/swaret.lang.RUSSIAN.cp1251
install/
install/doinst.sh
install/slack-desc

Last edited by darin3200; 08-02-2004 at 10:17 AM.
 
Old 08-02-2004, 10:10 AM   #11
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
Hey I am sorry

try : tar xf swaret-1.6.2-noarch-1.tgz.tar
 
Old 08-02-2004, 10:15 AM   #12
onegear
LQ Newbie
 
Registered: Aug 2004
Location: Indianapolis, IN
Distribution: FreeBSD, Slackware
Posts: 14

Original Poster
Rep: Reputation: 0
Unfortunately, it still won't do anything. After I run the tar command, it will literally just sit there and do nothing. I just end up doing a ^c to end it.

Thanks.
 
Old 08-02-2004, 10:16 AM   #13
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
Sure ? read carefull :
Code:
tar xf swaret-1.6.2-noarch-1.tgz.tar
 
Old 08-02-2004, 10:18 AM   #14
darin3200
Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
Quote:
Originally posted by Cedrik
Sure ? read carefull :
Code:
tar xf swaret-1.6.2-noarch-1.tgz.tar
Doesn't work
Code:
root@localhost music # tar -xf swaret-1.6.2-noarch-1.tgz.tar 
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Error exit delayed from previous errors
 
Old 08-02-2004, 10:22 AM   #15
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
Well, the man who made the archive must was drunk lol he named badly his file (which brings me into error, I thought of a tared slackware package)

[edit]
Now I am thinking... It may be a bziped archive, so the command :

tar xjf swaret-1.6.2-noarch-1.tgz.tar

should uncompress the slackware package

Last edited by Cedrik; 08-02-2004 at 10:26 AM.
 
  


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 an RPM or Tar.GZ package on CDROM in Command Line. mr.linux.noob Linux - General 10 10-28-2008 01:04 AM
installing .tgz.tar packages slack_is_good Slackware 6 12-18-2003 12:14 PM
Error while installing package.tar.tar isone Linux - Software 2 11-03-2003 11:58 AM
.rpms, .tar.gz, .tgz, .src.rpm, & .tar.bz2 whoots Mandriva 10 10-18-2003 12:08 PM
.tgz or .tar.gz c0c0deuz Linux - General 9 12-14-2001 10:37 AM


All times are GMT -5. The time now is 12:03 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration