Remove a Slackware Linux set the brutal way

proceed

let’s remove E F K KDE T TCL X XAP XFCE Y and keep only A AP D L N

mkdir -p ~/test-output/
cd ~/test-output/

rm -f tagfile-*
for set in e f k kde t tcl x xap xfce y; do
    echo -n fetching tagfile-$set ...
    wget -q -O - https://mirror.yandex.ru/slackware/slackware64-15.0/slackware64/$set/tagfile \
        > tagfile-$set && echo done
done; unset set

for pkg in `cut -f1 -d: tagfile-*`; do
    removepkg --terse $pkg
done; unset pkg

eventually reinstall those you need for running xen

slackpkg install pixman # required for /usr/lib/xen/bin/qemu-system-i386
# fontconfig

further ado

that doesn’t harm, just have a look and check

slackpkg clean-system

==> you should see only the additional packages you’ve manuall installed


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