Slackware HowTo

Inspect packages through /var/log/packages on Slackware

Use the native package database for quick audits and file tracking.

1. When to use it

This is the most direct method when you want to know what is installed without extra tools.

var/log/packages | var/log/scripts | audit | file ownership | package db

2. Base setup

ls /var/log/packages | grep '^openssl'
grep -R "usr/bin/ssh" /var/log/packages
grep -R "etc/ssh/sshd_config" /var/log/scripts | head

Adjust host names, IPs, interfaces, paths, and versions to the real system before making the change persistent.

3. Quick verification

sed -n '1,20p' /var/log/packages/openssl-*
grep '^PACKAGE NAME' /var/log/scripts/* | head
ls /var/log/packages | wc -l

Confirm that the output matches the expected state before considering the intervention complete.

4. Operational notes

For many internal audits this text database is enough: simple, stable, and readable even over remote shell.

Quick checklist

[ ] Steps completed\n[ ] Config updated\n[ ] Tests executed\n[ ] Rollback ready\n[ ] Logs checked

Back to Linux HowTo