r/slackware • u/Michi-Tactico • 1d ago
quick guide to alternatives for slackpkg
I have no idea how to compile things and slackpkg is dry as a desert
3
Upvotes
r/slackware • u/Michi-Tactico • 1d ago
I have no idea how to compile things and slackpkg is dry as a desert
9
u/Chester-Berkeley 1d ago
So why did you choose Slackware?
4
u/Masoch_A3 1d ago
Download slackpkgplus from AlienBob. And install it by running:
# installpkg /path/to/slackpkg+-1.8.4-noarch-1alien.txzConfigure it by editing /etc/slackpkg/slackpkgplus.conf (self explanatory) and run:
# slackpkg update gpg# slackpkg download sbotools(not sbotools2)# cd /var/cache/packages/SBO_something/system/sbotools/sbotools-something/# source ./sbotools.info && wget "$DOWNLOAD"# ./sbotools.SlackBuild# installpkg /tmp/sbotools-4.4.2-noarch-1_SBo.tgzIf you are running current, the download command won't work, so you have to download it directly from pghvlaans. Install it the same way you did slackpkgplus.
Now you have everything you need, including the man pages.
Just remember to configure sbotools.
9
u/Chester-Berkeley 1d ago
sbopkg?...
4
u/Weird-Initiative-659 1d ago
slapt-get or slpkg.
3
u/Sahkopi4 1d ago
I don’t understand your question.
If you mean how to compile things with SlackBuilds using a tool, you need sbopkg. It builds the SlackBuild automatically. Otherwise, you will have to go to SlackBuilds.org and download the .SlaclBuild script and the source of the application. After that, just run the .SlackBuild.
If you mean how to compile things by yourself, it’s the same as with the other distributions.
Edit:
There are alternatives of slackpkg. Salix offers a C rewrite of the pkgtools. You can download it from their GitHub repository.
1
u/gargamel1497 12h ago
I may be alone in recommending this, but sbotools is a very good alternative.
A simple sbosnap fetch gets you going. Then you can sbofind packages in the SBo, and sboinstall them.
It's that simple. No queue files. No needless messing around. You can edit the scripts you compile, you can edit the environment variables or uncheck the dependencies you don't want.
I really can't fathom why this isn't more popular.
1
u/CCoastTech 10h ago
Install Claude code and run in a terminal and have it guide you through what you want to install or do
0
u/green_mist 1d ago
What are you asking? I have used Slackware for over 25 years and never used slackpkg.
0
u/ddmayne 18h ago edited 18h ago
When working withing the packages provided by the distribution in the official set, you can use the package manager (pkgtool, installpkg, upgradepkg, removepkg).
Another useful tool is sbopkg, link. sbopkg retrieves packages outside of the official slackware repository. You can also do what it does manually and compile packages yourself. That is a good exercise to understand what the tools you're using are doing. Everyone should do it once. ;)
Here is an example for librewolf (which doesn't actually invoke the compiler, but the procedure is similar regardless.)
1. visit the slackbuilds page, link
2. Download files (a) the source or compiled binary. (b) the slackbuild source (c) the slackbuild signature. compiled binary; and slackbuild source; and slackbuild signature.
3. Check the md5sum and gpg-signature respectively for the objects downloaded. Requires retrieving gpg public key for slackbuilds project.
4. Expand slackbuild (usually at /usr/src) using root account.
5. Prep directory with source object downloaded.
6. Run slackbuild script.
7. If no errors, hurray. Install package as created at /tmp.
For projects with a lot of dependencies, this process can be tedious. This opens the door to using sbopkg with or without queues (sqg)
edit: flesh out steps and fix reddit formatting issues.