LinuxQuestions.org
Visit Jeremy's Blog.
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 08-20-2008, 09:05 PM   #1
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Lubuntu 17.10 x64
Posts: 510

Rep: Reputation: 33
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, 09:36 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
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, 10:05 PM   #3
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

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

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, 10:20 PM   #5
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
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
 
1 members found this post helpful.
Old 08-20-2008, 10:35 PM   #6
MannyNix
Member
 
Registered: Dec 2005
Location: ~
Distribution: Slackware -current
Posts: 465

Rep: Reputation: 53
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, 03:29 AM   #7
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Slackpkg. I've never tried Slapt-get.
 
Old 08-21-2008, 04:23 AM   #8
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018
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, 04:38 AM   #9
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Lubuntu 17.10 x64
Posts: 510

Original Poster
Rep: Reputation: 33
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, 04:38 AM   #10
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
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 04:42 AM.
 
Old 08-21-2008, 05:17 AM   #11
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018
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, 05:45 AM   #12
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
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, 05:49 AM   #13
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
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 05:51 AM.
 
Old 08-21-2008, 06:31 AM   #14
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
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, 07: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



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 12:22 PM
slackpkg moob8 Slackware 1 10-01-2006 03:46 AM
Slackpkg? vharishankar Slackware 13 08-04-2006 09:10 PM
/etc/slapt-getrc modification fails to influence slapt-get timsch75 Slackware 1 04-07-2004 08:48 AM
slapt-get, swaret, or SlackPkg ??? GloVe Slackware 2 10-05-2003 12:11 PM

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

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