How to find out and show a log of actions taken by the software management on Linux

last updated in Categories , , , , , ,

I am a new Debian Linux server user. How can I display a log of actions taken by the apt-get command or apt command or dnf command or yum command software management command?

The command to see a log of action taken by the software management depends upon your Linux distribution. The following table lists command as per your distro:


Show a log of actions taken by the software management

Linux distroCommandOutputs (click on image)
CentOS/RHEL/SL/Oracleyum historyCentOS/Red Hat Enterprise Linux yum command log
Arch Linuxcat /var/log/pacman.log
more /var/log/pacman.log
Arch Linux pacman command log file
Debian/Ubuntu Linuxcat /var/log/dpkg.log
cat /var/log/apt/history.log
Debian/Ubuntu Linux apt-get/apt command log file
Suse/OpenSUSE Linuxcat /var/log/zypp/historySuse/OpenSUSE Linux zypper command log file
Fedora Linuxdnf historyFedora Linux dnf command log file
Gentoo Linuxcd /var/log/portage
ls -l
cat /var/log/portage/elog/summary.log
cat /var/log/emerge-fetch.log
cat /var/log/emerge.log
genlop -lu|more
Gentoo Linux emerge command log file

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.


Leave a Comment