LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   installing a tgz.tar package? (https://www.linuxquestions.org/questions/slackware-14/installing-a-tgz-tar-package-212469/)

onegear 08-02-2004 08:53 AM

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!

darin3200 08-02-2004 09:12 AM

Check this out
http://www.linuxquestions.org/questi...ticle&artid=15

Cedrik 08-02-2004 09:12 AM

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

onegear 08-02-2004 09:28 AM

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 08-02-2004 09:45 AM

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.

Cedrik 08-02-2004 09:47 AM

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

onegear 08-02-2004 09:50 AM

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.

Cedrik 08-02-2004 10:01 AM

ok...

What is the output with this command :
Code:

ls

onegear 08-02-2004 10:05 AM

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.

darin3200 08-02-2004 10:10 AM

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


Cedrik 08-02-2004 10:10 AM

Hey I am sorry ;)

try : tar xf swaret-1.6.2-noarch-1.tgz.tar

onegear 08-02-2004 10:15 AM

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.

Cedrik 08-02-2004 10:16 AM

Sure ? read carefull :
Code:

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

darin3200 08-02-2004 10:18 AM

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


Cedrik 08-02-2004 10:22 AM

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


All times are GMT -5. The time now is 11:40 AM.