Yum when was a package installed
Also if you want to check for a specific package you can add that to your command - Ex: php70w. Eric Leschinski Eric Leschinski 3, 4 4 gold badges 19 19 silver badges 26 26 bronze badges.
If the result is 0 zero the package is installed. Tom Emerson Tom Emerson 1. This is very slow compared to the rpm -q bind solution shown in John's answer. Although perhaps using yum -C Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Does ES6 make JavaScript frameworks obsolete? Podcast Do polyglots have an edge when it comes to mastering programming Featured on Meta.
Now live: A fully responsive profile. We can find a complete information about YUM history command and several other commands in the yum man page:. Remember to offer us your thoughts concerning this guide via the comment section below. TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web.
Millions of people visit TecMint! If you like what you are reading, please consider buying us a coffee or 2 as a token of appreciation. We are thankful for your never ending support. Have a question or suggestion? Please leave a comment to start the discussion. Please keep in mind that all comments are moderated and your email address will NOT be published.
An example use case of the yum list command is checking if you have a specific package installed. For example, let us see if awk is installed. You can also filter for the available package in a specific repository. We can start by listing all enabled repositories with the command:. To search for packages available only in a specific repo. Improve this question. Stefan Lasiewski. Stefan Lasiewski Stefan Lasiewski I say probably just to be on the safe side.
Add a comment. Active Oldest Votes. To list all packages and their install dates, latest first: rpm -qa --last. Improve this answer. You might like the latest last: rpm -qa --last tac.
0コメント