LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-13-2006, 07:34 PM   #1
jcbparry
Member
 
Registered: Sep 2006
Distribution: Slackware 12, Fedora Core 5
Posts: 38

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


Hi!
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

Jcbparry
 
Old 11-13-2006, 07:55 PM   #2
ritziyap
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>"

"./configure"

"make"

"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
tramni1980
Member
 
Registered: Jul 2006
Location: Tübingen, Germany
Distribution: Slackware64-13.37
Posts: 737

Rep: Reputation: 37
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
slakmagik
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
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
Quote:
"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
 
  


Reply

Tags
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


All times are GMT -5. The time now is 02:19 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration