Minimal Slackware Tag Sets

What the Tags Mean

The Minimal Setup

The slackinst script installs only ADD tagged packages from a few sets, then a few from N

iproute2 libmnl \   # rc.inet1 from current uses /sbin/ip
iputils \
libtirpc \      # pam_unix.so wants
net-tools \
network-scripts \
ntp \
openssh"

and other additional ones because ADD tagged packages are not enough to get slackpkg up and running. Note gnupg and not gnupg2 there.

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

Additionally, those are also required for a decent and minimal system

man-pages \
diffutils \
file \
dhcp \          # dhclient
gpm \
ksh93 \         # floating point arithmetics from the shell
gettext \       # bison wants
m4"         # flex wants

And from L you will at least need,

bind libxml2 lmdb libuv json-c \    # for the host command
tcpdump libnl3 libpcap"         # for tcpdump

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

Are GnuPG 1 and GnuPG 2 compatible with each other? https://superuser.com/questions/655246/are-gnupg-1-and-gnupg-2-compatible-with-each-other

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)

http://www.slackware.com/~vbatts/minimal/

wget http://www.slackware.com/~vbatts/minimal/very_minimal_current.list

hadgis (Martti Kuparinen)

http://students.ceid.upatras.gr/~hadgis/html/slackware.html

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

https://www.linuxquestions.org/questions/blog/tsquaredf-227696/minimal-slackware-installation-1906/

Package listings

vbatts

aaa_base
aaa_elflibs
aaa_terminfo
bash
bin
bzip2
coreutils
dcron
dhcpcd
dialog
diffutils
e2fsprogs
elvis
etc
eudev
findutils
gawk
glibc-solibs
gnupg
grep
gzip
iputils
logrotate
mpfr
net-tools
network-scripts
ncurses
openssh
openssl-solibs
pkgtools
procps-ng
sed
shadow
sharutils
slackpkg
sysklogd
sysvinit
sysvinit-functions
sysvinit-scripts
tar
util-linux
wget
which
xz

ready for pkgsrc

aaa_base
diffutils
grep
pkgtools
aaa_elflibs
e2fsprogs
groff
procps
bash
etc
gzip
sed
bc
findutils
kbd
shadow
bin
gawk
lilo
slocate
binutils
gcc
logrotate
sysklogd
bzip2
gcc-g++
make
sysvinit
coreutils
gettext
man
tar
cxxlibs
glibc
man-pages
tcpip
devs
glibc-solibs
module-init-tools
util-linux
dhcpcd
glibc-zoneinfo
ncurses

diff

@@ -1,43 +1,44 @@
 aaa_base
 aaa_elflibs
+aaa_terminfo
 bash
-bc
 bin
-binutils
 bzip2
 coreutils
-cxxlibs
-devs
+dcron
 dhcpcd
+dialog
 diffutils
 e2fsprogs
+elvis
 etc
+eudev
 findutils
 gawk
-gcc
-gcc-g++
-gettext
-glibc
 glibc-solibs
-glibc-zoneinfo
+gnupg
 grep
-groff
 gzip
-kbd
-lilo
+iputils
 logrotate
-make
-man
-man-pages
-module-init-tools
+mpfr
 ncurses
+net-tools
+network-scripts
+openssh
+openssl-solibs
 pkgtools
-procps
+procps-ng
 sed
 shadow
-slocate
+sharutils
+slackpkg
 sysklogd
 sysvinit
+sysvinit-functions
+sysvinit-scripts
 tar
-tcpip
 util-linux
+wget
+which
+xz

NETWORK TOOLS

Those are pretty essential for system and network troubleshooting

ls -lF /var/log/packages/{bind,traceroute,nmap,htop,iftop,nload}-*

Not installing ntop because too much deps incl. X

#wget http://ponce.cc/slackware/slackware64-14.2/packages/GeoIP-1.6.12-x86_64-1ponce.txz
#installpkg GeoIP-1.6.12-x86_64-1ponce.txz
#ls -lF /var/log/packages/{rrdtool,pixman,fontconfig}-*

RESOURCES

18.4 Making Tags and Tagfiles (for setup) https://www.slackbook.org/html/package-management-making-tags-and-tagfiles.html

https://www.slackwiki.com/Tagfile_Install —> this guide is wrong

SSL ca-certificates missing but adding has unpredictable results https://lime-technology.com/forums/topic/29976-ssl-ca-certificates-missing-but-adding-has-unpredictable-results/


HOME | GUIDES | BENCHMARKS | html