LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-08-2004, 02:47 AM   #1
gonzalo76
Member
 
Registered: Feb 2004
Location: Argentina
Distribution: Fedora Core
Posts: 34

Rep: Reputation: 15
Slackware Package Management


I started in Linux using Red Hat. Now I use Fedora Core. Both have a tool called RPM for installing and upgrading packages. For example you can download all the KDE packages to a folder and then, install them all with just one command: 'rpm -ivh *.rpm". It also take cares about the dependencies issues.
Is in Slackware a tool like this?
How many tools does Slackware have?

I only know:
1. installpkg
2. pkgtool
3. swaret
4. slapt-get

I used pkgtool to install all the KDE packages manually one by one, but it didn't warn me about any dependency problem, I don't think that is right? Does pkgtool manage the dependency issues?
Which tool should I use to install them all and of course taking caring about the dependencies issues?

Thank you very much and sorry for this questions.

Greetings
gonzalo
 
Old 05-08-2004, 02:56 AM   #2
Chris H
Member
 
Registered: Aug 2003
Location: Farnborough, UK
Distribution: Zenwalk
Posts: 288

Rep: Reputation: 30
I used a mixture of swaret and installpkg. Seemed to worke quite well. There's also a tool called emerde, similar to Gentoo's emerge.
 
Old 05-08-2004, 03:29 AM   #3
xanas3712
Member
 
Registered: Apr 2004
Distribution: Slackware/Mandrake/Debian (sarge)
Posts: 266

Rep: Reputation: 30
I'm having a lot of trouble with the depency problems right now. My sound doesn't work after upgrading to kde 3.2.2 from kde 3.1 for some reason or another even after checking dependencies. So either the new stuff just doesn't work with my relatively normal soundcard or it's missing something...
 
Old 05-08-2004, 11:07 AM   #4
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Quote:
Which tool should I use to install them all
Code:
upgradepkg *.tgz
installpkg *.tgz
 
Old 05-08-2004, 11:30 AM   #5
gonzalo76
Member
 
Registered: Feb 2004
Location: Argentina
Distribution: Fedora Core
Posts: 34

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by 320mb
Code:
upgradepkg *.tgz
installpkg *.tgz
Ok, and about the dependency issues... which tool manage well the dependency issues.

Thanks

Last edited by gonzalo76; 05-08-2004 at 11:51 AM.
 
Old 05-08-2004, 12:51 PM   #6
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 659

Rep: Reputation: 30
This might give u a shock, but there is no dependency management in slackware packaging system!
Actually , u urself are the dependency solver! ;-)
 
Old 05-08-2004, 12:56 PM   #7
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Better than dependency hell in Red Hat systems.

I find that It's usually a much bigger hassle to install anything with rpm than with the standard .tgz tarballs slack uses. The package will install. And when it won't run, it tells you what it's missing. You find out what package has that -- you install it. Kaboom, running app.

In red hat/rpm you can't even install it if dependencies aren't present. If you use the force option, or nodep, you can run into big problems down the line -- I've seen some rpm databases bunked up from a lot of forcing, and ignoring dependencies.

slapt-get and swaret do the apt-get type thing of downloading everything needed for dependencies and installing them.

--Shade
 
Old 05-08-2004, 01:45 PM   #8
xanas3712
Member
 
Registered: Apr 2004
Distribution: Slackware/Mandrake/Debian (sarge)
Posts: 266

Rep: Reputation: 30
how exactly can you figure out which package has the file you need though.. this is my problem atm with a few things.. actually I upgraded everything so I haven't had any dependency issues (this time) but last time I did and several apps wouldn't load because of gtk errors (I had the newest gtk, and searching lead me to something that said I needed the newest pango also).. I mean.. who would even know gtk and pango were connected... but anyway.. that didn't end up working either..

slapt-get I haven't looked into yet.
 
Old 05-08-2004, 04:28 PM   #9
Mark Havel
Member
 
Registered: May 2004
Location: Lyon, France
Distribution: Slackware
Posts: 85

Rep: Reputation: 15
As far as I know, pkgtool and installpkg are the same tool. I only used them and it worked quite fine until now.
Aoh, another thing, I really think they should rename the Emerde project if it's not a fake, since "merde" means "shit" in French...
 
Old 05-08-2004, 09:03 PM   #10
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
look for MANIFEST.bz2 on your install disks.

That file contains the list of files in all packages in the slackware base.

--Shade
 
Old 05-08-2004, 09:17 PM   #11
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
You can do the same little example in Slack just type upgradepkg --install-new *.tgz
To see what libs are needed man ldd.
 
Old 05-09-2004, 08:23 AM   #12
datadriven
Member
 
Registered: Jun 2003
Location: Holly Hill, Florida
Distribution: Slackware 10.1
Posts: 317

Rep: Reputation: 30
swaret --dep

Should take care of any dependancy problems you may have.
 
Old 05-11-2004, 07:20 PM   #13
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
When you install a package:
-It works.
-It don't works, then, as you've launched it in a terminal, you can see a message like:
libXXXXX.yyy missing. So you have to install libXXXXX.yyy, or XXXXX.yyy.

When you run swaret, then it takes care of dependencies. You can have some trouble, but nothing compares to RPM's losses of hair.
 
  


Reply


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
Stupid newbie question on Slackware package management infornography Linux - Newbie 3 09-30-2005 08:34 AM
Using Package Archive style package management mugwump84 Linux From Scratch 3 08-25-2005 05:19 PM
Slackware Package Management kemplej Slackware 1 12-22-2003 05:34 PM
slackware package management Vlad_M Slackware 6 08-15-2003 04:20 AM
Slackware package management on non-slack system moreon Linux - General 2 12-13-2000 08:20 PM

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

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