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


View Poll Results: What methods do you use to install, update and maintain packages and sodtware in Slackware?
Slackpkg/Slackpkg+ 52 88.14%
swaret 0 0%
slapt-get 5 8.47%
sbopkg 29 49.15%
slpkg 2 3.39%
Multiple Choice Poll. Voters: 59. You may not vote on this poll

Reply
  Search this Thread
Old 04-20-2022, 08:00 AM   #1
naarter
Member
 
Registered: Mar 2022
Distribution: Slackware
Posts: 161

Rep: Reputation: 3
Post Preferred method of package management and software installation?


As you guys know Slackware is tricky when it come to package management, software installation and dependency resolutions. Although Slackware does provide many solutions it appears it is left up the user. I personally use Slackbuilds from binary to install software but what other methods for package management and software installation does the community use and why? Is there a preferred or suggested method and if not why? What are the opinions of the community concerning such topics?
VOTE FOR pkgtools/slackrepo by voting for slackpkg.

Last edited by naarter; 04-20-2022 at 08:18 AM. Reason: VOTE FOR pkgtools/slackrepo by voting for slackpkg.
 
Old 04-20-2022, 08:06 AM   #2
drumz
Member
 
Registered: Apr 2005
Location: Oklahoma, USA
Distribution: Slackware
Posts: 905

Rep: Reputation: 695Reputation: 695Reputation: 695Reputation: 695Reputation: 695Reputation: 695
You left out:

pkgtools
slackrepo

(that's all I use).

Quote:
Originally Posted by naarter View Post
As you guys know Slackware is tricky when it come to package management, software installation and dependency resolutions.
Actually I don't know...
 
1 members found this post helpful.
Old 04-20-2022, 08:15 AM   #3
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
naarter --

I use native Slackware 'primatives' installpkg ; upgradepkg ; removepkg and then ${PACKAGE}.SlackBuild over a bunch of ( too many ) hand-rolled shell tools.

-- kjh
 
2 members found this post helpful.
Old 04-20-2022, 08:19 AM   #4
thim
Member
 
Registered: Nov 2013
Location: Greece
Distribution: Slackware current, MX Linux, Salix
Posts: 113

Rep: Reputation: 57
I use slackpkg but i not use slackpkg+. I use sbopkg but sometimes i install slackbuilds manually. For a few prebuilt packages, i just use installpkg/upgradepkg
 
Old 04-20-2022, 08:22 AM   #5
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
swaret? seriously?
 
Old 04-20-2022, 08:31 AM   #6
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
If you're going to include sbopkg in the poll, you should also add sbotools, sboui, and slackrepo.
 
2 members found this post helpful.
Old 04-20-2022, 09:00 AM   #7
naarter
Member
 
Registered: Mar 2022
Distribution: Slackware
Posts: 161

Original Poster
Rep: Reputation: 3
Thumbs up

Quote:
Originally Posted by montagdude View Post
If you're going to include sbopkg in the poll, you should also add sbotools, sboui, and slackrepo.
How do I do that? I just shot my self in the leg because I ran a clean command that deleted all my third party software. SO I am trying to find out the best way to install software on Slackware. The slackbuild's method though seems tedious. I just want the best way to install software on my system.
 
Old 04-20-2022, 09:10 AM   #8
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Quote:
Originally Posted by naarter View Post
How do I do that? I just shot my self in the leg because I ran a clean command that deleted all my third party software. SO I am trying to find out the best way to install software on Slackware. The slackbuild's method though seems tedious. I just want the best way to install software on my system.
You might be able to edit the poll options if you edit your post. I'm not really sure, because I never post polls.

Anyway, slackpkg and the like do fundamentally different things than sbopkg and the like. The former are meant for managing binary packages from the official Slackware repo (and third-party binary repos in the case of slackpkg+ and slapt-get), whereas the latter are for building packages from source from SlackBuilds.org. It sounds like the latter is what you are having trouble with. sbopkg is the one most people use. It has a familiar interface based on "dialog" (like the Slackware installer). It can handle dependencies as well, but you need to use a separate tool called sqg, which is packaged with sbopkg, to do that. sbotools is a command-line interface that handles dependencies on the fly. sboui also handles dependencies on the fly but has an ncurses interface inspired by Midnight Commander that can be operated with the keyboard or mouse. Some people use slackrepo to manage their SlackBuilds, which is a very powerful tool but has a bit steeper learning curve and has features that might be overkill for the average user (e.g., to build a complete repo of binary packages that can then be accessed via slackpkg+).

Last edited by montagdude; 04-20-2022 at 09:15 AM.
 
2 members found this post helpful.
Old 04-20-2022, 09:40 AM   #9
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,975

Rep: Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551
Quote:
Originally Posted by drumz View Post
You left out:

pkgtools
I don't know about the other items listed in that poll, but I do know that slackpkg with slackpkg+ will not work without pkgtools. So it sort of a default usage with package management.
 
Old 04-20-2022, 11:48 AM   #10
drumz
Member
 
Registered: Apr 2005
Location: Oklahoma, USA
Distribution: Slackware
Posts: 905

Rep: Reputation: 695Reputation: 695Reputation: 695Reputation: 695Reputation: 695Reputation: 695
Quote:
Originally Posted by chrisretusn View Post
I don't know about the other items listed in that poll, but I do know that slackpkg with slackpkg+ will not work without pkgtools. So it sort of a default usage with package management.
Very true. My point was some people use only pkgtools and not other tools built on top of it.
 
1 members found this post helpful.
Old 04-20-2022, 12:01 PM   #11
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,106

Rep: Reputation: 7281Reputation: 7281Reputation: 7281Reputation: 7281Reputation: 7281Reputation: 7281Reputation: 7281Reputation: 7281Reputation: 7281Reputation: 7281Reputation: 7281
pkgtools:
Installpkg,
removepkg,
upgradepkg,
explopdepkg,
pkgtool,
makepkg.
https://docs.slackware.com/slackwareackage_management

I usually use, upgradepkg --reinstall --install-new

slackpkg is a different utility.

Last edited by cwizardone; 04-20-2022 at 12:04 PM.
 
1 members found this post helpful.
Old 04-20-2022, 12:09 PM   #12
pm_a_cup_of_tea
Member
 
Registered: May 2021
Posts: 58

Rep: Reputation: Disabled
Quote:
Originally Posted by naarter View Post
How do I do that? I just shot my self in the leg because I ran a clean command that deleted all my third party software. SO I am trying to find out the best way to install software on Slackware. The slackbuild's method though seems tedious. I just want the best way to install software on my system.
I use sbopkg for my third party software, with the occasional manual slackbuild, just to learn how to build them myself.

The good thing about sbopkg is that you can create a list of all your third party software, add each program to the list as you install it and back it up. The saved queues live at /var/lib/sbopkg/queues so if you ever have to install your usual additional software you can just move myqueue.sqf in there and load it within sbopkg and just wait until it all installs.

Last edited by pm_a_cup_of_tea; 04-20-2022 at 12:11 PM.
 
2 members found this post helpful.
Old 04-20-2022, 01:36 PM   #13
Jan K.
Member
 
Registered: Apr 2019
Location: Esbjerg
Distribution: Windows 7...
Posts: 773

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Quote:
Originally Posted by naarter View Post
As you guys know Slackware is tricky when it come to... dependency resolutions.
And may it stay that way forever!


Here's why...

Quote:
One of the major complaints by new users is the fact that Slackware does not automatically track dependencies and install dependencies when you install a file. To many this may seem like a negative mark against Slackware, but many users prefer to know exactly what is installed on their systems and what it is for. The lack of dependency tracking allows the system administrators to install only the dependencies that are required for their necessary functionality without introducing unneeded components.
Source: https://docs.slackware.com/slackwareackage_management



Wish LQ would keep auto-smilies out of urls...

Last edited by Jan K.; 04-20-2022 at 01:38 PM.
 
3 members found this post helpful.
Old 04-20-2022, 01:49 PM   #14
Pithium
Member
 
Registered: Jul 2014
Location: Far side of the Oregon Trail
Distribution: Slackware64 15.0
Posts: 502

Rep: Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586
To expand on that point for end users.. by providing a very simple and featureless set of package management tools Slackware gives users to choose or implement a package manager that best fits their needs.

Most distros lock users into using a particular set of package management tools and if you don't their choice you have to find another distro. Slackware lets you choose a package manager without having to leave Slackware.

I use slackpkg+ because I like to have a few additional repos available but don't need dependency resolution.
 
1 members found this post helpful.
Old 04-20-2022, 08:04 PM   #15
drumz
Member
 
Registered: Apr 2005
Location: Oklahoma, USA
Distribution: Slackware
Posts: 905

Rep: Reputation: 695Reputation: 695Reputation: 695Reputation: 695Reputation: 695Reputation: 695
Quote:
Originally Posted by Jan K. View Post
Wish LQ would keep auto-smilies out of urls... :p :rolleyes:
When creating your post, there is an option under "Additional Options" or "Disable smilies in text." Be sure to turn it off if you don't want smilies.

... but yes, it would be nice if smilies were always disabled in URLs.
 
  


Reply

Tags
dependancies, package management, slackpkg bite again!



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
[SOLVED] Vivaldi browser: Preferred installation method arodlinux Slackware 32 12-22-2017 06:49 PM
What is your preferred Linux Package Management System? jeremy Linux - General 85 10-13-2014 10:57 AM
Want to know preferred method of Slackware 13 installation, CD or DVD MonkfishAlchemist Slackware - Installation 4 02-16-2010 02:08 PM

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

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