Arch Linux pacman command log file

Arch Linux pacman command log file

To see a log of Arch Linux pacman command log, enter:
# cat /var/log/pacman.log
Sample outputs:

[2017-04-26 01:29] [PACMAN] synchronizing package lists
[2017-04-26 01:30] [ALPM] transaction started
[2017-04-26 01:30] [ALPM] installed linux-api-headers (4.10.1-1)
[2017-04-26 01:30] [ALPM] installed tzdata (2017b-1)
[2017-04-26 01:30] [ALPM] installed iana-etc (20170224-1)
[2017-04-26 01:30] [ALPM] installed filesystem (2017.03-2)
[2017-04-26 01:30] [ALPM] installed glibc (2.25-1)
[2017-04-26 01:30] [ALPM] installed gcc-libs (6.3.1-2)
[2017-04-26 01:30] [ALPM] installed ncurses (6.0+20170401-1)
[2017-04-26 01:30] [ALPM] installed readline (7.0.003-1)
[2017-04-26 01:30] [ALPM] installed bash (4.4.012-2)
[2017-04-26 01:30] [ALPM] installed bzip2 (1.0.6-6)
[2017-04-26 01:30] [ALPM] installed attr (2.4.47-2)
[2017-04-26 01:30] [ALPM] installed acl (2.2.52-3)
[2017-04-26 01:30] [ALPM] installed gmp (6.1.2-1)
[2017-04-26 01:30] [ALPM] installed libcap (2.25-1)
[2017-04-26 01:30] [ALPM] installed gdbm (1.13-1)
[2017-04-26 01:30] [ALPM] installed db (5.3.28-3)
[2017-04-26 01:30] [ALPM] installed perl (5.24.1-1)
[2017-04-26 01:30] [ALPM] installed openssl (1.1.0.e-1)
[2017-04-26 01:30] [ALPM] installed coreutils (8.27-1)
[2017-04-26 01:30] [ALPM] installed libgpg-error (1.27-1)
[2017-04-26 01:30] [ALPM] installed libgcrypt (1.7.6-1)
[2017-04-26 01:30] [ALPM] installed lz4 (1:1.7.5-1)
[2017-04-26 01:30] [ALPM] installed xz (5.2.3-1)
[2017-04-26 01:30] [ALPM] installed libsystemd (232-8)
[2017-04-26 01:30] [ALPM] installed expat (2.2.0-2)
[2017-04-26 01:30] [ALPM] installed dbus (1.10.18-1)
[2017-04-26 01:30] [ALPM] installed libmnl (1.0.4-1)
[2017-04-26 01:30] [ALPM] installed libnftnl (1.0.7-1)
[2017-04-26 01:30] [ALPM] installed libnl (3.2.29-2)
.....
...
...[2017-05-05 22:43] [ALPM] running 'systemd-update.hook'...
[2017-05-05 22:43] [ALPM] running 'texinfo-install.hook'...
[2017-05-07 09:18] [PACMAN] Running 'pacman -S iftop'
[2017-05-09 16:04] [PACMAN] Running 'pacman -S pkgfile'
[2017-05-09 16:05] [PACMAN] Running 'pacman -Rs pkgfile'
[2017-05-09 16:05] [ALPM] transaction started
[2017-05-09 16:05] [ALPM] removed pkgfile (17-1)
[2017-05-09 16:05] [ALPM-SCRIPTLET] ==> /var/cache/pkgfile has not been removed
[2017-05-09 16:05] [ALPM] transaction completed
[2017-05-09 16:05] [ALPM] running 'systemd-update.hook'...
[2017-05-09 16:05] [PACMAN] Running 'pacman -S pkgfile'
[2017-05-09 16:05] [ALPM] transaction started
[2017-05-09 16:05] [ALPM] installed pkgfile (17-1)
[2017-05-09 16:05] [ALPM-SCRIPTLET] ==> Run 'pkgfile --update' to initialize the database
[2017-05-09 16:05] [ALPM] transaction completed
[2017-05-09 16:05] [ALPM] running 'systemd-update.hook'...
[2017-05-09 16:38] [PACMAN] Running 'pacman -Syu'
[2017-05-09 16:38] [PACMAN] synchronizing package lists
[2017-05-09 16:38] [PACMAN] starting full system upgrade
[2017-05-09 16:38] [ALPM] transaction started
[2017-05-09 16:38] [ALPM] upgraded iana-etc (20170224-1 -> 20170426-1)
[2017-05-09 16:38] [ALPM] installed libnghttp2 (1.22.0-1)
[2017-05-09 16:38] [ALPM] upgraded curl (7.54.0-2 -> 7.54.0-3)
[2017-05-09 16:38] [ALPM] upgraded gnupg (2.1.20-1 -> 2.1.20-2)
[2017-05-09 16:38] [ALPM] upgraded libtirpc (1.0.1-2 -> 1.0.1-3)
[2017-05-09 16:38] [ALPM] upgraded licenses (20140629-1 -> 20140629-2)
[2017-05-09 16:38] [ALPM] transaction completed
[2017-05-09 16:38] [ALPM] running 'systemd-update.hook'...
[2017-05-09 16:38] [ALPM] running 'texinfo-install.hook'...
[2017-05-14 18:43] [PACMAN] Running 'pacman -Syu'
[2017-05-14 18:43] [PACMAN] synchronizing package lists
[2017-05-14 18:44] [PACMAN] starting full system upgrade

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