LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-05-2003, 04:53 AM   #1
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 31
Slackware Pkg System


Okay I'm a little bit confused. I've been reading up on Slackware for awhile now (I'm going to install it on either another partition or another HD just to test it out) and I'm a little confused. Does the whole installpkg system work with any .tar.gz or .tgz file that I can download anywhere or are there certain versions of them available for Slackware only? Also if the previous thing is true, if I install a .tar.gz without using installpkg does the package still show up in pkgtool?
 
Old 11-05-2003, 05:06 AM   #2
kasperhans
Member
 
Registered: Oct 2003
Location: right behind the moon
Distribution: gentoo
Posts: 466

Rep: Reputation: 30
ok the tgz packages for slackware are special slackware versions the normal tar.gz packages you can download from most programs are mostly source packages and you have to compile them the slackware tgz packages are already compiled and just need to be installed if you installed a package it shouldnt be in pkgtool but you can have a look at what is installed at /var/log/packages there are all packages listed which are installed on your slack box read more about the slack package system at www.slackware.com
 
Old 11-05-2003, 05:22 AM   #3
Obscure
Member
 
Registered: Apr 2003
Location: Milan
Distribution: Slackware 10 / FreeBSD 5.3
Posts: 175

Rep: Reputation: 32
You can also convert an rpm file into a slack .tgz package with the command rpm2tgz if don't exist a slack pkg...
 
Old 11-05-2003, 04:35 PM   #4
davidschob
Member
 
Registered: May 2003
Posts: 56

Rep: Reputation: 17
Also with CheckInstall (http://asic-linux.com.mx/~izto/checkinstall/index.php) it's fairly easy to build your own slack packages from source. It's nice if you can't find a precompiled program but still want to be able to remove/upgrade/etc things easily.

Good Luck.
 
Old 11-05-2003, 05:33 PM   #5
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Checkinstall is my religion. I almost always prefer to go for the source and use checkinstall.

I've used rpm2tgz a couple of time, though, and it worked. I hear it's not 100%, though.

"Does the whole installpkg system work with any .tar.gz or .tgz file that I can download anywhere or are there certain versions of them available for Slackware only?"

*.tgz is actually just a variant of tar.gz. You will find the occasional *.tgz that is *not* a Slackware package. But it's almost always a Slackware package, and that's just a precompiled binary. And you can't install source tarballs (tar.gz and the stray non-Slack .tgz and all the rest such as tar.bz2) with installpkg.

"Also if the previous thing is true, if I install a .tar.gz without using installpkg does the package still show up in pkgtool?"

No. With checkinstall it does.

So, find a .tgz, make sure it's a Slackware package, download, 'installpkg' and it's installed and recorded in /var/log/packages. Find a .tar.gz and compile it, install with checkinstall, and it's just like a package. Find a tar.gz, compile it, and do 'make install' and it's not recorded - it's just like compiled source tarball. *g* To remove either of the first two, do 'removepkg'. To remove a source tarball, cd to the source directory and (if you still have it and it happens to include an uninstall script) do 'make uninstall' or something like. Otherwise, you have to do it by hand.

Sorry for redundancies and omissions and inaccuracies regarding the rest of the thread. I just wanted to plug checkinstall and compiling from source, basically. *g*
 
Old 11-05-2003, 06:14 PM   #6
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Original Poster
Rep: Reputation: 31
Wow, thanks a bunch guys! I've seriously been looking into Slackware (I downloaded the ISO's already and all I need to do is backup some data and I'm on my way) and this was the only thing about it bothering me a bit. But it seems the package management system is, IMHO, a lot nicer than the Red Hat one, it seems like I have more control, I like that. Anyways once again, thanks for all your input.
 
Old 11-05-2003, 06:57 PM   #7
kasperhans
Member
 
Registered: Oct 2003
Location: right behind the moon
Distribution: gentoo
Posts: 466

Rep: Reputation: 30
no problem have fun with slack :=)
 
Old 11-05-2003, 09:21 PM   #8
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
You'll find that you get a lot more control in all aspects... Not just package management

-Shade
 
  


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
kernel Panic slackware 10.1 (sata) after upgrading to 2.6.10 pkg in /testing sund00bie Slackware 7 07-25-2005 04:59 AM
Starting from 0 - pkg by pkg Lopes Linux - Newbie 2 07-02-2005 01:42 AM
setting up new slackware system hirts123 Slackware 17 05-29-2005 01:11 PM
system doesnt see pkg-config Jason711 Linux - Software 19 04-13-2005 04:53 AM
Slackware 8 X-window System xcobra Linux - General 1 06-08-2002 06:38 AM

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

All times are GMT -5. The time now is 04:15 PM.

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