• List that contains the last installed / upgraded packages in Antergos / Arch Linux


    How can I get a list of packages, that last installed / upgraded by pacman / yaourt in Antergos / Arch Linux including the timestamp?

  • To get a list of last installed packages, you can run:

    cat /var/log/pacman.log | grep -i installed
    

    Example output of last installed packages:

    [2015-08-24 15:32] [ALPM] warning: /etc/pamac.conf installed as /etc/pamac.conf.pacnew
    [2015-08-24 15:32] [ALPM] installed python-packaging (15.3-1)
    [2015-08-24 15:32] [ALPM] installed python2-packaging (15.3-1)
    [2015-08-25 10:37] [ALPM] installed ttf-ubuntu-font-family (0.80-5)
    [2015-08-25 10:43] [ALPM] installed ttf-google-fonts (20150805.r201-1)
    [2015-08-25 10:44] [ALPM] installed ttf-ubuntu-font-family (0.80-5)
    [2015-08-26 17:39] [ALPM] installed mozilla-extension-gnome-keyring-git (0.10.r36.378d9f3-1)
    

    To get a list of last upgraded packages, you can run:

    cat /var/log/pacman.log | grep -i upgraded
    

    Example output of last upgraded packages:

    [2015-08-27 10:00] [ALPM] upgraded libinput (0.99.1-1 -> 1.0.0-1)
    [2015-08-27 10:00] [ALPM] upgraded python2-mako (1.0.1-1 -> 1.0.2-1)
    [2015-08-27 16:03] [ALPM] upgraded tdb (1.3.6-1 -> 1.3.7-1)
    [2015-08-27 16:03] [ALPM] upgraded ldb (1.1.20-1 -> 1.1.21-1)
    [2015-08-27 16:03] [ALPM] upgraded python2-mako (1.0.2-1 -> 1.0.2-2)
    

    To get a list of last installed or upgraded packages, you can run:

    cat /var/log/pacman.log | grep -iE 'installed|upgraded'
    

    Example output of last upgraded packages:

    [2015-08-25 09:56] [ALPM] upgraded jdk (8u51-2 -> 8u60-1)
    [2015-08-25 10:37] [ALPM] installed ttf-ubuntu-font-family (0.80-5)
    [2015-08-25 10:43] [ALPM] installed ttf-google-fonts (20150805.r201-1)
    [2015-08-25 10:44] [ALPM] installed ttf-ubuntu-font-family (0.80-5)
    [2015-08-26 17:39] [ALPM] installed mozilla-extension-gnome-keyring-git (0.10.r36.378d9f3-1)
    [2015-08-27 10:00] [ALPM] upgraded curl (7.43.0-1 -> 7.44.0-1)
    [2015-08-27 10:00] [ALPM] upgraded gc (7.4.2-2 -> 7.4.2-3)
    [2015-08-27 10:00] [ALPM] upgraded kmod (21-1 -> 21-2)
    [2015-08-27 10:00] [ALPM] upgraded libinput (0.99.1-1 -> 1.0.0-1)
    [2015-08-27 10:00] [ALPM] upgraded python2-mako (1.0.1-1 -> 1.0.2-1)
    [2015-08-27 16:03] [ALPM] upgraded tdb (1.3.6-1 -> 1.3.7-1)
    [2015-08-27 16:03] [ALPM] upgraded ldb (1.1.20-1 -> 1.1.21-1)
    [2015-08-27 16:03] [ALPM] upgraded python2-mako (1.0.2-1 -> 1.0.2-2)
  • Thanks for sharing :thumbsup: .

  • Very good, thank you very much and much needed!:point_up_2:

    Autodidacta en la VIDA …y en Linux, también.

  • In my personal opinion, this little tutorial could be in the site’s wiki. It good, instructive, helpful, and could be needed for those perusing through the wiki.
    Great Job!!

    Download " antergos-wallpapers-extra " and enjoy community sponsored wallpapers.

    Use the "Linux Beginner Search Engine"

    https://cse.google.com/cse/home?cx=017607476515012185699:b_owgx6xyi0

  • @Modisc said:

    In my personal opinion, this little tutorial could be in the site’s wiki. It good, instructive, helpful, and could be needed for those perusing through the wiki.
    Great Job!!

    Agreed. Its important that this type of information is always available in one place and not scattered amongst multiple resources. We don’t want users to have to search multiple resources to find useful information like this. With that in mind, this article needs to be moved to the Wiki. Anyone who has a moment to spare please feel free to move it. :smile:

    Cheers!

packages7 list3 installed1 pacman77 upgraded3 Posts 6Views 1485
Log in to reply