Minimal Slackware Tag Sets

What the Tags Mean

ADD kind of means mandatory. REC means Recommended, NOT Required. This guide is wrong. OPT means optional.

The Minimal Set

ADD from A and AP.

From N,

iputils \
net-tools \
network-scripts \
openssh \

For slackpkg to work,

which \
dialog \
slackpkg \
ncurses \
gnupg \
wget \
libunistring \

And to be able to pass through SSL,

curl            #/usr/share/curl/ca-bundle.crt
ca-certificates #wget git
perl            #update-ca-certificates
openssl         #update-ca-certificates uses /usr/bin/c_rehash

DO NOT FORGET TO RUN (inside the guest),

update-ca-certificates

And from L you will at least need,

slackpkg install json-c #slackware64 // for host command to work
slackpkg install libnl3 libpcap #slackware64 // for tcpdump to work

The GnuPG Situation

gnupg (OPT) is needed by slackpkg (REC), although marked as OPT in the tagfile. Do not install gnupg2 (REC).

Install GnuPG v1, not v2. It is lighter and fits our needs. Check with,

gpg --version
ls -l /usr/bin/gpg2 #does not exist

In case it is GnuPG v2 you have got, this might be required to run slackpkg properly,

ln -s gpg2 /usr/bin/gpg

Searching

loose/relax search,

pattern=gcc
find . -type f | egrep "$pattern.*-[^-]+-[^-]+-[^-]+\.t[gx]z$"
unset pattern

precise package name search,

pattern=gcc
find . -type f | egrep "$pattern-[^-]+-[^-]+-[^-]+\.t[gx]z$"
unset pattern

and check the tag,

grep $pattern */tagfile

Minimal Tag Sets

The Official Shit

list of official mandatory packages,

#d l n
for set in a ap; do
    echo ADD packages from set $set
    egrep :ADD$ $set/tagfile | cut -f1 -d:
    echo
done

vbatts (Vincent Batts)

hadgis (Martti Kuparinen)

format it by line,

sed -r 's/ +/\n/g' pastedlist

stip out the package version and print only the name,

sed -r 's/([^-]+)-[^-]+-[^-]++-[^-]+$/\1/' linedlist

LXC templates

TSquaredF