Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-08-2004, 02:47 AM
|
#1
|
Member
Registered: Feb 2004
Location: Argentina
Distribution: Fedora Core
Posts: 34
Rep:
|
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
|
|
|
05-08-2004, 02:56 AM
|
#2
|
Member
Registered: Aug 2003
Location: Farnborough, UK
Distribution: Zenwalk
Posts: 288
Rep:
|
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.
|
|
|
05-08-2004, 03:29 AM
|
#3
|
Member
Registered: Apr 2004
Distribution: Slackware/Mandrake/Debian (sarge)
Posts: 266
Rep:
|
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...
|
|
|
05-08-2004, 11:07 AM
|
#4
|
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577
Rep:
|
Quote:
Which tool should I use to install them all
|
Code:
upgradepkg *.tgz
installpkg *.tgz
|
|
|
05-08-2004, 11:30 AM
|
#5
|
Member
Registered: Feb 2004
Location: Argentina
Distribution: Fedora Core
Posts: 34
Original Poster
Rep:
|
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.
|
|
|
05-08-2004, 12:51 PM
|
#6
|
Member
Registered: Jul 2003
Posts: 659
Rep:
|
This might give u a shock, but there is no dependency management in slackware packaging system!
Actually , u urself are the dependency solver! ;-)
|
|
|
05-08-2004, 12:56 PM
|
#7
|
Senior Member
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Rep:
|
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
|
|
|
05-08-2004, 01:45 PM
|
#8
|
Member
Registered: Apr 2004
Distribution: Slackware/Mandrake/Debian (sarge)
Posts: 266
Rep:
|
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.
|
|
|
05-08-2004, 04:28 PM
|
#9
|
Member
Registered: May 2004
Location: Lyon, France
Distribution: Slackware
Posts: 85
Rep:
|
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...
|
|
|
05-08-2004, 09:03 PM
|
#10
|
Senior Member
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Rep:
|
look for MANIFEST.bz2 on your install disks.
That file contains the list of files in all packages in the slackware base.
--Shade
|
|
|
05-08-2004, 09:17 PM
|
#11
|
Senior Member
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,273
Rep:
|
You can do the same little example in Slack just type upgradepkg --install-new *.tgz
To see what libs are needed man ldd.
|
|
|
05-09-2004, 08:23 AM
|
#12
|
Member
Registered: Jun 2003
Location: Holly Hill, Florida
Distribution: Slackware 10.1
Posts: 317
Rep:
|
swaret --dep
Should take care of any dependancy problems you may have.
|
|
|
05-11-2004, 07:20 PM
|
#13
|
Senior Member
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534
Rep: 
|
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.
|
|
|
All times are GMT -5. The time now is 11:39 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|