Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-13-2006, 07:34 PM   #1
Registered: Sep 2006
Distribution: Slackware 12, Fedora Core 5
Posts: 38

Rep: Reputation: 15
Converting a *.tar.gz to a *.tgz

I wanted to know how to convert, say, foo.tar.gz to foo.tgz so that it is able to be installed using KPackage. Please Help. Thanks

Old 11-13-2006, 07:55 PM   #2
LQ Newbie
Registered: Oct 2006
Location: Philippines
Distribution: Slackware 11
Posts: 15

Rep: Reputation: 0
install the program called "checkinstall" it is found in disc2 of slackware11

after installing, do the reqular routine installing a program from source..

"tar -zxvf <program_name>.<version>.<arc>.tar.gz"

"cd <program_name>.<version>"



"sudo checkinstall"

"checkinstall" will make a .tgz binary like <program_name>.<version>.<arch>.tgz

you have to provide a description though..
Old 11-13-2006, 09:46 PM   #3
Registered: Jul 2006
Location: Gießen, Germany
Distribution: Slackware64-14.2 & -current
Posts: 799

Rep: Reputation: 49
Another possibility is just using the src2pkg command:

sudo root
src2pkg foo.tar.gz

The ready Slackwate packages is located it /tmp
Check the README file of foo.tar.gz to see if any extra arguments should be passed to the ./cofigure script. If so the command is
src2pkg -e '--some-argument' foo.tar.gz

Have fun!
Old 11-13-2006, 11:36 PM   #4
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Another possibility is just writing a SlackBuild and building it. Your SlackBuild calls makepkg(8) and you're done.
Old 11-14-2006, 03:18 AM   #5
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
"sudo checkinstall"
please remove sudo entries in slckware. i think this will confuse newbees

tar.gz (source tarrballs) and tgz (slackware pkg) aer different ones. for our personal use, i will go for the checkinstall method as ritziyap said.
instead of ./configure make make install, use
./configure make checkinstall


convert, slackware, slackware11, targz, tgz

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
Help with tar of *.tgz humayun Linux - General 3 08-12-2006 09:06 AM
How to INSTALL softwares with *.tar.gz or *.tar.tgz extension On SLACKWARE 10.2 DdOs Linux - Software 4 03-20-2006 01:54 AM
Converting tar.gz to. tgz Spyiish Slackware 26 11-09-2004 11:00 PM
.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 > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:42 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration