LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-15-2003, 05:49 PM   #1
e1000
Member
 
Registered: Oct 2003
Location: California
Distribution: Ubuntu
Posts: 582

Rep: Reputation: 30
im confused on package management


i dont understand slackwares package management system, is it based on source install or is it something special?

could someone direct me to a tutorial that tells how to use it and what it does?
 
Old 10-15-2003, 05:55 PM   #2
ceedeedoos
Member
 
Registered: Aug 2003
Location: Antwerp, Belgium
Distribution: Slackware 10.0, Mandrake 10.1
Posts: 174

Rep: Reputation: 36
man pkgtool
oh and http://www.swaret.org
you have to get swaret if you use slackware it makes updates easy, and works (so far) without many glitches.

It comes down to this:
*.tgz files are slackware packages, which basically contain the binaries compiled for slackware. Which makes it very pure .. you can just extract those files to see what's in the tgz file.

source is another kind of "package", though I wouldn't call it package management. I use checkinstall when I compile from source, so I create a slackware package and install that one (easier to remove later on). That's not a necessary thing to do, but it makes life easier sometimes
 
Old 10-15-2003, 06:08 PM   #3
e1000
Member
 
Registered: Oct 2003
Location: California
Distribution: Ubuntu
Posts: 582

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by ceedeedoos
source is another kind of "package", though I wouldn't call it package management. I use checkinstall when I compile from source, so I create a slackware package and install that one (easier to remove later on). That's not a necessary thing to do, but it makes life easier sometimes
would you mind explaining this? whats checkinstall?
 
Old 10-15-2003, 06:13 PM   #4
ceedeedoos
Member
 
Registered: Aug 2003
Location: Antwerp, Belgium
Distribution: Slackware 10.0, Mandrake 10.1
Posts: 174

Rep: Reputation: 36
checkinstall is a utility that you use to create a slackware package ...
so your source compilation goes like this (generic)
./configure
make
make install

and with checkinstall you would do
./configure
make
checkinstall

you will be prompted for several options, and then checkinstall will create a slackware package(tgz) and install that package.

With source code, to uninstall, you need to count on a "make uninstall" rule in the makefile
With checkinstall however, you do removepkg whatever the title of your package.

and yes, if you want to get rid of a program, removepkg program is easier than searching for all the files you can remove... so in that way it makes life easier

even better would be to see for yourself
http://asic-linux.com.mx/~izto/checkinstall/index.php

Last edited by ceedeedoos; 10-15-2003 at 06:14 PM.
 
Old 10-15-2003, 06:24 PM   #5
ed_thix
Member
 
Registered: Apr 2002
Location: Malaysia
Distribution: Slackware 15 & Ubuntu
Posts: 94

Rep: Reputation: 31
if u spend a little bit time at http://www.slackware.com/book/index....rce=c3984.html I'm sure u'll understand slack's pkgtool ....

have fun
 
  


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
Using Package Archive style package management mugwump84 Linux From Scratch 3 08-25-2005 05:19 PM
Package management awing_pilot Linux - Newbie 1 03-30-2005 12:41 PM
package management laydros Slackware 6 01-21-2005 06:43 PM
Package Management Eklipz Slackware 4 12-05-2004 09:59 PM
Package management Ultimaterra2005 Red Hat 1 02-22-2004 12:02 PM

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

All times are GMT -5. The time now is 10:54 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