LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 08-20-2008, 10:05 PM   #1
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Debian Lenny AMD64
Posts: 506

Rep: Reputation: 32
Which one do you use: Slapt-get or slackpkg?


Hello back!

I haven't mention swaret because I think it is a kind of discontinued project (I am not completely sure but this is what I understood). Slackpkg and Slapt-get are the ones I've tried.

Which one do you use? Are they basically the same? Can I use both of them or it doesn't make any sense?

And... How can I make this two tools remove packages after installing them?

I don't know if slackpkg leaves packages somewhere but slapt-get leaves packages in /var/slapt-get... but the packages aren't all together. They are inside subdirectories. Can I remove this .tgz files safely? Isn't it there a way to remove this packages automatically after packages were installed?

Thank you!
 
Old 08-20-2008, 10:36 PM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
I use slapt-get, mainly because I like it's inspiration, apt-get. It's dependency tracking works very well if the packages are made correctly, and since I build all my own packages and host them on my server; I know they are. It makes pushing out updates to my various machines a lot easier.

Uninstalling a package in slapt-get is done with --remove; to delete downloaded packages with slapt-get you would use the --clean or --autoclean options.
 
Old 08-20-2008, 11:05 PM   #3
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 57
I use slackpkg because its in /extra on the dvd
 
Old 08-20-2008, 11:17 PM   #4
Cuetzpallin
Member
 
Registered: Feb 2008
Location: Monterrey, MX
Distribution: Slackware since 3.4 and love it!!!
Posts: 162

Rep: Reputation: 31
Quote:
Originally Posted by AceofSpades19 View Post
I use slackpkg because its in /extra on the dvd
Me too... but I miss swaret :'( (It's a joke)
 
Old 08-20-2008, 11:20 PM   #5
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 223Reputation: 223Reputation: 223
Depends on what your doing.

Since I only install official Slackware binaries and updates, I use slackpkg. Everything else is from www.slackbuilds.org, or my own Slackbuild hacks.

To remove packages, removepkg should be enough
 
Old 08-20-2008, 11:35 PM   #6
MannyNix
Member
 
Registered: Dec 2005
Location: ~
Distribution: Slackware -current, OpenBSD
Posts: 449

Rep: Reputation: 41
Quote:
Originally Posted by AceofSpades19 View Post
I use slackpkg because its in /extra on the dvd
Same here, that means Pat must like it.

Quote:
Originally Posted by Cuetzpallin View Post
Me too... but I miss swaret :'( (It's a joke)
Me too, but I miss paludis Joke too :P

Quote:
Originally Posted by disturbed1 View Post
Since I only install official Slackware binaries and updates, I use slackpkg. Everything else is from www.slackbuilds.org, or my own Slackbuild hacks.
To remove packages, removepkg should be enough
Exactly the same here.

I like the fact that you can manage Slackware any way you like. Thanks Pat
 
Old 08-21-2008, 04:29 AM   #7
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,135
Blog Entries: 52

Rep: Reputation: Disabled
Slackpkg. I've never tried Slapt-get.
 
Old 08-21-2008, 05:23 AM   #8
GazL
Senior Member
 
Registered: May 2008
Posts: 3,502

Rep: Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024
Neither. For updates, I keep a local mirror of .../patches/packages. For additional software, I either pull a slackbuild script from slackbuilds.org, Eric or Robby, or I write one myself.
 
Old 08-21-2008, 05:38 AM   #9
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Debian Lenny AMD64
Posts: 506

Original Poster
Rep: Reputation: 32
How do you keep a local mirror?

Quote:
Originally Posted by GazL View Post
Neither. For updates, I keep a local mirror of .../patches/packages. For additional software, I either pull a slackbuild script from slackbuilds.org, Eric or Robby, or I write one myself.
I like this but... How do you keep a local mirror of .../patches/packages?
How is that done?

Thanks,
Glore2002.-
 
Old 08-21-2008, 05:38 AM   #10
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Rep: Reputation: 121Reputation: 121
In my very humble opinion and experience after using Slackware for a while, I think people who use Slackware should know exactly what the distribution is about and it's NOT one of its goals to provide a comprehensive package management system for unofficial software not found in the CDs.

Using third party tools with Slackware can lead to broken installations and other problems while upgrading the base system as I once found out (updating core libraries like glibc through a slapt-get upgrade let to problems). Also maintaining and updating third-party software and libraries to keep in sync with the main distribution can become very time-consuming.

The best thing is, use Slackware if you're happy with what's there in the official software set. If not, the place to look for is another distribution.

Best is to use the tools provided with the distribution. Slackware is a CD-based distribution and trying to make it emulate a genuinely "rolling" distributions like Debian or Gentoo is a bad idea and can lead to wrong expectations. Slackpkg is less dangerous than slapt-get but it's still not as "safe" as using the official CD set and following the recommended methods to install/update software.

Last edited by vharishankar; 08-21-2008 at 05:42 AM.
 
Old 08-21-2008, 06:17 AM   #11
GazL
Senior Member
 
Registered: May 2008
Posts: 3,502

Rep: Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024
Glore, I use rsync but in your first post you were asking about removing package files after they've been installed and that's not compatible with keeping a mirror.

If you're interested in rsync, try doing a search on the forum. I can vaguely remember someone posting a script to do the necessary a while back in a thread about keeping slackware updated.
 
Old 08-21-2008, 06:45 AM   #12
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 223Reputation: 223Reputation: 223
Quote:
Originally Posted by harishankar View Post
Slackpkg is less dangerous than slapt-get but it's still not as "safe" as using the official CD set and following the recommended methods to install/update software.
You do know slackpkg is on the official cd set
 
Old 08-21-2008, 06:49 AM   #13
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Rep: Reputation: 121Reputation: 121
Quote:
Originally Posted by disturbed1 View Post
You do know slackpkg is on the official cd set
Yes, but is that method of installing/upgrading officially supported now?

I knew it was there somewhere. I'm not sure whether it's an unsupported "extra" or an essential system component. When I used, slackpkg was a script that pull packages off any mirror FTP servers and installed them right?

Sorry, I've not used Slackware since 10.1, so I'm no longer sure.

Last edited by vharishankar; 08-21-2008 at 06:51 AM.
 
Old 08-21-2008, 07:31 AM   #14
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 223Reputation: 223Reputation: 223
Quote:
Originally Posted by harishankar View Post
Yes, but is that method of installing/upgrading officially supported now?

I knew it was there somewhere. I'm not sure whether it's an unsupported "extra" or an essential system component. When I used, slackpkg was a script that pull packages off any mirror FTP servers and installed them right?

Sorry, I've not used Slackware since 10.1, so I'm no longer sure.
Not really sure how to answer that question

Using slackpkg is the same as wget foo.tgz upgradepkg foo.tgz. Extra packages are still supported and receive updates, they are "extra/alternate packages that might be handy."

So if it's supported to download a package off an official Slackware mirror, then use install/remove/upgradepkg, then I guess the answer would be yes
 
Old 08-21-2008, 08:14 AM   #15
wadsworth
Member
 
Registered: Aug 2007
Distribution: Slackware64 13.37
Posts: 215

Rep: Reputation: 65
I have used slapt-get in the past only for installing security updates from
an official mirror (which I considered a safe use of slapt-get).

Recently though, slapt-get didn't catch the security update to the "links" browser
(links-2.1pre33-i486-1 updated to links-2.1-i486-1_slack12.1)

If slapt-get doesn't see this as an update, what updates could it miss in the future?

So I switched to slackpkg for easy installation of security updates.
 
  


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
Slackpkg: missing something in /usr/libexec/slackpkg/functions.d/dialog-functions.sh michelino Slackware 4 03-20-2007 01:22 PM
slackpkg moob8 Slackware 1 10-01-2006 04:46 AM
Slackpkg? vharishankar Slackware 13 08-04-2006 10:10 PM
/etc/slapt-getrc modification fails to influence slapt-get timsch75 Slackware 1 04-07-2004 09:48 AM
slapt-get, swaret, or SlackPkg ??? GloVe Slackware 2 10-05-2003 01:11 PM


All times are GMT -5. The time now is 08:11 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration