Blog

03/06/2019

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



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 history
Arch Linuxcat /var/log/pacman.log
more /var/log/pacman.log
Debian/Ubuntu Linuxcat /var/log/dpkg.log
cat /var/log/apt/history.log
Suse/OpenSUSE Linuxcat /var/log/zypp/history
Fedora Linuxdnf history
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

(adsbygoogle = window.adsbygoogle || []).push({});

Posted by: SXI ADMIN

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.

14/08/2019

How to KVM, QEMU start or stop virtual machine from command line (CLI)

KVM or Kernel Based Virtual Machine is a popular virtualization technology. It allows you to run virtual guest machines over a host machine. To start...
14/08/2019

How to Docker backup Saving and restoring your volumes

Running a Docker volume backup First, we spin up a temporary container, and we mount the backup folder and the target Docker volume to this container....
12/08/2019

How to Start and Enable Firewalld on CentOS 7

In this article, we discuss how to start and enable firewalld. It is highly recommended that you have a firewall protecting your server.Pre-Flight CheckThese...