Yum where is installed




















There are sub-commands that print out transaction details of a specific package or group of packages. They take either a single transaction id or the keyword last and an offset from the last transaction. This is how the sub-commands above work: If we have 5 transactions: V, W, X, Y and Z, where packages where installed respectively. In the following example, transaction 2 was a update operation, as seen below, the redo command that follows will repeat transaction 2 upgrading all the packages updated by that time:.

The redo sub-command can also take some optional arguments before we specify a transaction:. 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? The former is best if you're not completely sure of the package name. Parsing the results of this command is the most complete answer.

You'll need to know the exact package name. The best one liner I've come up with to do this which is great for using quickly in scripts is:. Sign up to join this community.

The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group.

Create a free Team What is Teams? Learn more. How to accurately check if package is installed in yum? Ask Question. Asked 7 years, 11 months ago. Active 4 years, 6 months ago.

Viewed k times. I keep getting answers like: yum list installed grep bind or rpm -qa grep bind But that is not accurate as I'm getting a list of few other bind packages like these: bind-utils Improve this question.

Randall 2 2 silver badges 16 16 bronze badges. Add a comment. Active Oldest Votes. Have you tried this? Improve this answer. Which should be correct so far.

This guide provides three simple methods to list installed software packages on CentOS and other RedHat-based Linux systems. It is an updated package manager that allows you to install, remove, update, view, or search software packages. Use the following yum command to display all installed packages:. To check if a specific package is installed with YUM, filter the output with the grep command :. RPM lists packages by their package name and revision number. Text-wrapping can make this tool harder to read.

Use the rpm ——help command for more options, or refer to the documentation. Yum-utils is a software package that adds functionality to the standard YUM package manager.



0コメント

  • 1000 / 1000