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

Notices

Reply
 
Thread Tools
Old 08-02-2004, 09:53 AM   #1
onegear
LQ Newbie
 
Registered: Aug 2004
Location: Indianapolis, IN
Distribution: FreeBSD, Slackware
Posts: 14
Thanked: 0
installing a tgz.tar package?


[Log in to get rid of this advertisement]
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!
onegear is offline     Reply With Quote
Old 08-02-2004, 10:12 AM   #2
darin3200
Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153
Thanked: 0
Check this out
http://www.linuxquestions.org/questi...ticle&artid=15
darin3200 is offline     Reply With Quote
Old 08-02-2004, 10:12 AM   #3
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 1,463
Thanked: 0
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
Cedrik is offline     Reply With Quote
Old 08-02-2004, 10:28 AM   #4
onegear
LQ Newbie
 
Registered: Aug 2004
Location: Indianapolis, IN
Distribution: FreeBSD, Slackware
Posts: 14
Thanked: 0

Original Poster
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.
onegear is offline     Reply With Quote
Old 08-02-2004, 10:45 AM   #5
onegear
LQ Newbie
 
Registered: Aug 2004
Location: Indianapolis, IN
Distribution: FreeBSD, Slackware
Posts: 14
Thanked: 0

Original Poster
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.
onegear is offline     Reply With Quote
Old 08-02-2004, 10:47 AM   #6
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 1,463
Thanked: 0
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
Cedrik is offline     Reply With Quote
Old 08-02-2004, 10:50 AM   #7
onegear
LQ Newbie
 
Registered: Aug 2004
Location: Indianapolis, IN
Distribution: FreeBSD, Slackware
Posts: 14
Thanked: 0

Original Poster
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.
onegear is offline     Reply With Quote
Old 08-02-2004, 11:01 AM   #8
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 1,463
Thanked: 0
ok...

What is the output with this command :
Code:
ls
Cedrik is offline     Reply With Quote
Old 08-02-2004, 11:05 AM   #9
onegear
LQ Newbie
 
Registered: Aug 2004
Location: Indianapolis, IN
Distribution: FreeBSD, Slackware
Posts: 14
Thanked: 0

Original Poster
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.
onegear is offline     Reply With Quote
Old 08-02-2004, 11:10 AM   #10
darin3200
Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153
Thanked: 0
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 11:17 AM..
darin3200 is offline     Reply With Quote
Old 08-02-2004, 11:10 AM   #11
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 1,463
Thanked: 0
Hey I am sorry

try : tar xf swaret-1.6.2-noarch-1.tgz.tar
Cedrik is offline     Reply With Quote
Old 08-02-2004, 11:15 AM   #12
onegear
LQ Newbie
 
Registered: Aug 2004
Location: Indianapolis, IN
Distribution: FreeBSD, Slackware
Posts: 14
Thanked: 0

Original Poster
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.
onegear is offline     Reply With Quote
Old 08-02-2004, 11:16 AM   #13
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 1,463
Thanked: 0
Sure ? read carefull :
Code:
tar xf swaret-1.6.2-noarch-1.tgz.tar
Cedrik is offline     Reply With Quote
Old 08-02-2004, 11:18 AM   #14
darin3200
Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153
Thanked: 0
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
darin3200 is offline     Reply With Quote
Old 08-02-2004, 11:22 AM   #15
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 1,463
Thanked: 0
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 11:26 AM..
Cedrik is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 02:04 AM
installing .tgz.tar packages slack_is_good Slackware 6 12-18-2003 01:14 PM
Error while installing package.tar.tar isone Linux - Software 2 11-03-2003 12:58 PM
.rpms, .tar.gz, .tgz, .src.rpm, & .tar.bz2 whoots Mandriva 10 10-18-2003 01:08 PM
.tgz or .tar.gz c0c0deuz Linux - General 9 12-14-2001 11:37 AM


All times are GMT -5. The time now is 06:30 AM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration