Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
How To Find Package Installation Date on RHEL 7
1. How To Find Package Installation Date on RHEL 7
Table of Contents
Overview.......................................................................................................................................................1
Applies To......................................................................................................................................................1
Pre-Requisites ...............................................................................................................................................1
Query Package – All Packages.......................................................................................................................1
Query Package – Latest Packages.................................................................................................................1
Query Package Info – Dates..........................................................................................................................2
2. How To Find Package Installation Date on RHEL 7
1 | P a g e
Overview
In this guide we will look at rpm package installation history on a Linux based operating system.
Applies To
RHEL 7
Pre-Requisites
RPM installed Linux operating system.
Query Package – All Packages
In order to query packages that have been installed on the server along with their date of installation,
run the command; by default latest installed packages are listed on top.
rpm -qa --last
Query Package – Latest Packages
In order to query package that have been installed latest, in this case we will query for latest five
packages; run the command;
rpm -qa --last | head -5
3. How To Find Package Installation Date on RHEL 7
2 | P a g e
Query Package Info – Dates
In order to query package info such as package installed date and package build date, run the command;
rpm -qi fail2ban-firewalld | grep Date