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

# FRANCE
http://nephtys.lip6.fr/pub/linux/distributions/slackware/slackware64-current/

# RUSSIA
# http://mirror.rol.ru/slackware/slackware64-14.2/
# http://mirror.yandex.ru/slackware/slackware64-14.2/

# LAN
# http://x.x.x.x/slackware142/

# LOCAL
# file:///tftpboot/slackware142/

slackpkg update
slackpkg search htop

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.

Third-parity packages

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

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

Grab & install the latest slackpkg+ release

cd ~/
wget http://slakfinder.org/slackpkg+/pkg/slackpkg+-1.7.0-noarch-10mt.txz
installpkg --terse slackpkg+-1.7.0-noarch-10mt.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++

Easy SBo builds

if you really want your system to be used for building

for running sbopkg

ldd /usr/bin/rsync
ldd /usr/libexec/gnupg/gpgkeys_curl
slackpkg install rsync cyrus-sasl curl lz4 zstd xxHash nghttp2 brotli

not sure what this was specifically needed for

#slackpkg install patch gcc-g++ guile

setting up SlackBuilds e.g. building and installing bonnie++, fetch and install the latest sbopkg package e.g.,

#git clone https://github.com/sbopkg/sbopkg.git
wget https://github.com/sbopkg/sbopkg/releases/download/0.38.1/sbopkg-0.38.1-noarch-1_wsr.tgz
installpkg sbopkg-0.38.1-noarch-1_wsr.tgz

sbopkg -r
sbopkg -s bonnie++
sbopkg -i bonnie++

Resources

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

Package Finder http://slakfinder.org/

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

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 | BENCHMARKS | html