The slackstrap script installs only ADD tagged packages from A AP
sets, then selects a few packages from N
iproute2 libmnl \ # rc.inet1 from current uses /sbin/ip iputils \ libtirpc \ # pam_unix.so and sshd want net-tools \ network-scripts \ ntp \ openssh"
and a few others ones because ADD
tagged packages are not enough to get slackpkg
up and running. Note gnupg
and not gnupg2
is there.
which \ dialog \ slackpkg \ ncurses \ gnupg \ wget \ libunistring \
And to be able to pass through SSL and eventually validate certs
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, we also select those for a decent and minimal system
man-pages \ diffutils \ file \ dhcp \ # dhclient gpm \ gettext \ # bison wants m4 \ # flex wants
Current now requires this
elogind" # ps command wants
As a result, here’s what we got with -current
(Jan 2021).
For the host
command to work you will need
bind libxml2 lmdb libuv json-c
For tcpdump
to work you will need
tcpdump libnl3 libpcap
A few more packages worth mentioning
#ksh93 \ #lynx \ #lftp \ #git \ #cyrus-sasl \ #htop \ #screen utempter #jfsutils \ #iptables nftables \ #gnutls \ #dhcpcd \ # no need as we have dhclient from the dhcp package #bonnie++ \ #rsync \
And those are pretty essential for system and network troubleshooting
bind traceroute nmap htop iftop nload # ntop has too much deps incl. X
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
loose/relax search
pattern=gcc find . -type f | grep -e "$pattern.*-[^-]+-[^-]+-[^-]+\.t[gx]z$" unset pattern
precise package name search
pattern=gcc find . -type f | grep -e "$pattern-[^-]+-[^-]+-[^-]+\.t[gx]z$" unset pattern
and check the tag
grep $pattern */tagfile
you might want to keep kernel headers to be able to build, and eventually firmwares for the bare-metal
kernel-firmware kernel-headers #kernel-source #kernel-huge #kernel-modules
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
source: http://students.ceid.upatras.gr/~hadgis/html/slackware.html
format it by line
sed -r 's/ +/\n/g' pastedlist.txt #for f in `cat pastedlist.txt`; do echo $f; done; unset f
stip out the package version and print only the name,
sed -r 's/([^-]+)-[^-]+-[^-]++-[^-]+$/\1/' linedlist.txt sed -r 's/^(.*)-[^-]+-[^-]+-[^-]+$/\1/' linedlist.txt
source: http://www.slackware.com/~vbatts/minimal/
source: /usr/share/lxc/templates/lxc-slackware
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/
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
(gone) https://www.linuxquestions.org/questions/blog/tsquaredf-227696/minimal-slackware-installation-1906/
(referrenced) http://om2junk.blogspot.com/2010/
Slackware Minimal (but no hardcore) Installation https://www.linuxquestions.org/questions/slackware-14/slackware-minimal-but-no-hardcore-installation-899839/
Setting up a “small” Slackware install https://gist.github.com/ruario/7c2742d6d1dd2f89575c