Table of Contents

Slackware System

Useful system level notes.

Listing Packages

Simply list files in /var/log/packages (path is actually a link to /var/lib/pkgtools/packages/).

# ls -l /var/log/packages/

List full package name (with version) only

# for that in $(ls /var/log/packages/) ; do echo $that ; done | sort

Find installed packages that are not in Slackware tree

slackfull=slackware64-15.0 ; slacktree=/home/share/slackware/$slackfull ;
for pkg in $(ls /var/log/packages/) ; do
	pkgf=$(find $slacktree/ -name "${pkg}.txz") ;
	[ -f "$pkgf" ] && continue ;
	echo "** Package '$pkg' is alien!" ;
done

This can also be done using slackview script (in my1shell repo)

# slackview find --alien

View information on specific package

# slackview find [pkg_name]

To list currently installed packages (to be used in my1live)

Building Custom Kernel