LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Preferred method of package management and software installation? (https://www.linuxquestions.org/questions/slackware-14/preferred-method-of-package-management-and-software-installation-4175711029/)

naarter 04-20-2022 08:00 AM

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.

drumz 04-20-2022 08:06 AM

You left out:

pkgtools
slackrepo

(that's all I use).

Quote:

Originally Posted by naarter (Post 6347428)
As you guys know Slackware is tricky when it come to package management, software installation and dependency resolutions.

Actually I don't know...

kjhambrick 04-20-2022 08:15 AM

naarter --

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

-- kjh

thim 04-20-2022 08:19 AM

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

solarfields 04-20-2022 08:22 AM

swaret? seriously?

montagdude 04-20-2022 08:31 AM

If you're going to include sbopkg in the poll, you should also add sbotools, sboui, and slackrepo.

naarter 04-20-2022 09:00 AM

Quote:

Originally Posted by montagdude (Post 6347443)
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.

montagdude 04-20-2022 09:10 AM

Quote:

Originally Posted by naarter (Post 6347457)
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+).

chrisretusn 04-20-2022 09:40 AM

Quote:

Originally Posted by drumz (Post 6347431)
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.

drumz 04-20-2022 11:48 AM

Quote:

Originally Posted by chrisretusn (Post 6347469)
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.

cwizardone 04-20-2022 12:01 PM

pkgtools:
Installpkg,
removepkg,
upgradepkg,
explopdepkg,
pkgtool,
makepkg.
https://docs.slackware.com/slackware:package_management

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

slackpkg is a different utility.

pm_a_cup_of_tea 04-20-2022 12:09 PM

Quote:

Originally Posted by naarter (Post 6347457)
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.

Jan K. 04-20-2022 01:36 PM

Quote:

Originally Posted by naarter (Post 6347428)
As you guys know Slackware is tricky when it come to... dependency resolutions.

And may it stay that way forever! :D


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/slackware:package_management



Wish LQ would keep auto-smilies out of urls... :p :rolleyes:

Pithium 04-20-2022 01:49 PM

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.

drumz 04-20-2022 08:04 PM

Quote:

Originally Posted by Jan K. (Post 6347517)
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.


All times are GMT -5. The time now is 09:25 PM.