Slackware Packages Management

assuming you went through the post-install already

Official packages

mv -i /etc/slackpkg/mirrors /etc/slackpkg/mirrors.dist
vi /etc/slackpkg/mirrors

(MIRROR URL)

slackpkg update
slackpkg search htop
slackpkg install htop libunwind
slackpkg install vim-8 git

Eventually disable dialog

#mv -i /etc/slackpkg/slackpkg.conf /etc/slackpkg/slackpkg.conf.dist
#grep -vE '^[[:space:]]*(#|$)' /etc/slackpkg/slackpkg.conf.dist > /etc/slackpkg/slackpkg.conf
#vi /etc/slackpkg/slackpkg.conf

#DIALOG=off

Now please take the chance to patch your system.

OPTIONAL - Third-parity packages

Check what you have (just slackpkg or also slackpkg+)

ls -lF /var/log/packages/slackpkg*

Grab & install the latest release

wget https://slakfinder.org/slackpkg+/pkg/slackpkg+-1.7.0-noarch-12mt.txz
installpkg --terse slackpkg+-1.7.0-noarch-12mt.txz
upgradepkg --terse slackpkg+-1.7.0-noarch-12mt.txz

and setup e.g. Multilib and SBo binaries with slackonly

cp -pi /etc/slackpkg/slackpkgplus.conf /etc/slackpkg/slackpkgplus.conf.dist
vi /etc/slackpkg/slackpkgplus.conf

mv -i /etc/slackpkg/slackpkgplus.conf /etc/slackpkg/slackpkgplus.conf.dist
grep -vE '^[[:space:]]*(#|$)' /etc/slackpkg/slackpkgplus.conf.dist > /etc/slackpkg/slackpkgplus.conf
vi /etc/slackpkg/slackpkgplus.conf

REPOPLUS=( slackpkgplus multilib slackonly )
#more: restricted alienbob slacky

14.2

MIRRORPLUS['multilib']=http://bear.alienbase.nl/mirrors/people/alien/multilib/14.2/
MIRRORPLUS['slackonly']=http://packages.slackonly.com/pub/packages/14.2-x86_64/

current

MIRRORPLUS['multilib']=http://bear.alienbase.nl/mirrors/people/alien/multilib/current/
MIRRORPLUS['slackonly']=https://slackonly.com/pub/packages/current-x86_64/

apply it all

slackpkg update gpg
slackpkg update
slackpkg search bonnie++

Resources

Package Management: A Hands-On Explanation https://docs.slackware.com/slackware:package_management_hands_on

Slackware Package Finder https://slackware.nl/slakfinder/index.php

packages.slackware.com https://packages.slackware.com/

slackpkg+

Slackpkg+ - A slackpkg plugin for third-party repositories http://slakfinder.org/slackpkg+.html

slackpkg+ http://slakfinder.org/slackpkg+/pkg/ http://sourceforge.net/projects/slackpkgplus/files/

Introducing slackpkg+, an extension to slackpkg for 3rd party repositories https://alien.slackbook.org/blog/introducing-slackpkg-an-extension-to-slackpkg-for-3rd-party-repositories/

zuno/slackpkgplus https://github.com/zuno/slackpkgplus

repositories

SlackOnly https://slackonly.com/readme.html

rworkman’s Slackware Packages https://rlworkman.net/pkgs/

alternatives

slpkg - Slackware Linux Package Manager https://dslackw.gitlab.io/slpkg/

slapt-get https://software.jaos.org/ https://software.jaos.org/git/slapt-get/


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun