ALI Blog

Executive and Technical Blogs

  • Home
    Home This is where you can find all the blog posts throughout the site.
  • Categories
    Categories Displays a list of categories from this blog.
  • Login
    Login Login form

Linux tip: Finding Most Recent Installed Packages with RPM

Posted by on in Technical
  • Font size: Larger Smaller
  • Hits: 8359
  • Subscribe to this entry
  • Print

Linux tip:
How to find out the most recent installed packages with RPM


You probably know the last software package you installed, but are you aware of all the dependencies that were also installed?  Here's a tip to help you.

Use this command to show the newest installed packages at the top:  rpm -qa - -last

The newest packages will be at the top. Since the list is probably long, you might want to pipe the output to less:

rpm -qa - -last | less

Type q to exit less. You can also pipe the output with grep to search for a specific day or date with Jun as an example like this:

rpm -qa - -last | grep Jun

You can also pipe the request to a text file:

rpm -qa --last > filename

Looking for more help with your Linux systems?  Contact us and we'll be happy to set you up with an engineer who can help!

Trackback URL for this blog entry.