LinuxQuestions.org
Have you listened to LQ Radio?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Thread Tools
Old 11-05-2003, 05:53 AM   #1
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Chicago, IL
Distribution: Debian Unstable, Mac OS X, Slackware 11.0, Mandriva 10, Windows XP
Posts: 711
Thanked: 0
Slackware Pkg System


[Log in to get rid of this advertisement]
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?
GT_Onizuka is offline     Reply With Quote
Old 11-05-2003, 06:06 AM   #2
kasperhans
Member
 
Registered: Oct 2003
Location: right behind the moon
Distribution: gentoo
Posts: 466
Thanked: 0
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
kasperhans is offline     Reply With Quote
Old 11-05-2003, 06:22 AM   #3
Obscure
Member
 
Registered: Apr 2003
Location: Milan
Distribution: Slackware 10 / FreeBSD 5.3
Posts: 175
Thanked: 0
You can also convert an rpm file into a slack .tgz package with the command rpm2tgz if don't exist a slack pkg...
Obscure is offline     Reply With Quote
Old 11-05-2003, 05:35 PM   #4
davidschob
Member
 
Registered: May 2003
Posts: 56
Thanked: 0
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.
davidschob is offline     Reply With Quote
Old 11-05-2003, 06:33 PM   #5
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware 13.0, -current
Posts: 3,887
Blog Entries: 1
Thanked: 27
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*
slakmagik is offline     Reply With Quote
Old 11-05-2003, 07:14 PM   #6
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Chicago, IL
Distribution: Debian Unstable, Mac OS X, Slackware 11.0, Mandriva 10, Windows XP
Posts: 711
Thanked: 0

Original Poster
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.
GT_Onizuka is offline     Reply With Quote
Old 11-05-2003, 07:57 PM   #7
kasperhans
Member
 
Registered: Oct 2003
Location: right behind the moon
Distribution: gentoo
Posts: 466
Thanked: 0
no problem have fun with slack :=)
kasperhans is offline     Reply With Quote
Old 11-05-2003, 10:21 PM   #8
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1
Thanked: 0
You'll find that you get a lot more control in all aspects... Not just package management

-Shade
Shade is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 05:59 AM
Starting from 0 - pkg by pkg Lopes Linux - Newbie 2 07-02-2005 02:42 AM
setting up new slackware system hirts123 Slackware 17 05-29-2005 02:11 PM
system doesnt see pkg-config Jason711 Linux - Software 19 04-13-2005 05:53 AM
Slackware 8 X-window System xcobra Linux - General 1 06-08-2002 07:38 AM


All times are GMT -5. The time now is 01:01 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration