Viewing Package Installation History with apt and dpkg
Package managers on Debian and Ubuntu systems maintain detailed logs of all installations, upgrades, and removals. These logs are essential for auditing system changes, troubleshooting dependency issues, or understanding what was installed and when. Log File Locations The main log files you’ll work with are: /var/log/dpkg.log — Low-level package management operations logged by dpkg /var/log/apt/history.log…