LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 01-27-2004, 10:35 PM   #1
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
Best Way to Install .TGZ files?


I'm coming from RH/Knoppix background where I've used apt-get for like the past 2 yrs to get my packages.

I know how to install .tgz files, no problem.

I've also installed
Swaret to keep my files up to date under Slackware.

BUT, I've d/l some tgz stuff, like xmms skins and Xawtv and I seem to remember that there are other ways to install.

Like installpkg command.

Can someone give me more background on this command, I've read the man pages, but I need more info.

I've tried to use it, but I've noticed that xmms skin has .gz after .tgz. Do I have to use gunzip before using installpkg?

thanks
 
Old 01-27-2004, 10:42 PM   #2
Joey.Dale
Member
 
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828

Rep: Reputation: 39
try info installpkg or you can use pkgtool
 
Old 01-27-2004, 11:50 PM   #3
XStorm
Member
 
Registered: Nov 2003
Distribution: Slack 10.0 / 2.6.8.1
Posts: 63

Rep: Reputation: 15
Check the content of the archived file. If it's made out of folders (/usr, /opt etc.) then it's precompiled, and you can use pkgtool.
But if it's *.tar.bz2, *.tar.gz, (and/or made out of makefiles and libfiles) then you have to compile it first OR it just needs to be extracted if it's just an archived skin or something similar.

Just extract it with tar (-xzvf,-xvvf), and if it needs to be compiled follow the instructions in the readme files (usually ./configure,make, make install.), and instead of make install you can allways use checkinstall, witch creates a *.tgz package that you can install using pkgtool, so you can uninstall it later with pkgtool or removepkg.

Last edited by XStorm; 01-27-2004 at 11:56 PM.
 
Old 01-28-2004, 12:28 AM   #4
brandonweinberg
Member
 
Registered: Sep 2003
Location: usa ny
Posts: 48

Rep: Reputation: 15
Thanks XStorm for throwing in the CheckInstall nugget, I should be doing that
 
Old 01-28-2004, 10:13 PM   #5
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420

Original Poster
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
Quote:
Originally posted by XStorm
Check the content of the archived file. If it's made out of folders (/usr, /opt etc.) then it's precompiled, and you can use pkgtool.
But if it's *.tar.bz2, *.tar.gz, (and/or made out of makefiles and libfiles) then you have to compile it first OR it just needs to be extracted if it's just an archived skin or something similar.

Just extract it with tar (-xzvf,-xvvf), and if it needs to be compiled follow the instructions in the readme files (usually ./configure,make, make install.), and instead of make install you can allways use checkinstall, witch creates a *.tgz package that you can install using pkgtool, so you can uninstall it later with pkgtool or removepkg.
Thank you for the help, I am greatful.

thanks!
 
  


Reply



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
how do i install tgz files on mandrake nipplepoker Linux - Software 2 10-17-2005 02:07 PM
how do I install from tgz, tar files? nathan_newmai Linux - Software 2 07-25-2004 05:39 AM
How do I install .tgz files! cddesjar Linux - Software 4 07-01-2004 02:21 PM
how to install .tgz files? bw8 Linux - Newbie 10 08-21-2003 03:03 PM
X Sever crash after xset.tgz & vg16.tgz install lachlan Slackware 0 08-13-2003 02:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:56 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration