Yum show installed packages


















As we can see from screenshot that there is different packages like Environment Groups, Installed Environment Groups etc. In some cases we may need to filter listed group packages. We will again use grep command in order to filter listed group packages. In this example we will filter groups packages which name contains Desktop in order to list desktop group packages. We can count packages too.

We can count total packages those starts with a like below. We will use wc command with the -l option. List All Repository Packages. Following your Site! Awesome article, thank you Aaron. Noble Many thanks for the feedback. Superb Article Reply. Raja Welcome, thanks for the feedback and following us as well.

Got something to say? Join the discussion. Cancel reply Have a question or suggestion? Comment Name Email Save my name, email, and website in this browser for the next time I comment. Error: Trying to remove "systemd", which is protected Error: Trying to remove "yum", which is protected As you can see some other packages were depending not directly on package libdb , but on file libdb Finally, when using repoquery we get the real list of packages depending on libdb : repoquery -q --installed --whatrequires libdb cyrus-sasl-lib This answer is better than the accepted answer — Pancho.

For dnf new version of yum you may try with repoquery wrapper command: dnf repoquery --whatrequires sqlite If it is not available you may install it with command: dnf -y install dnf-plugins-core. You need --installed --recursive at the end so it only returns what's actually installed and doesn't pull from the repositories — Hashbrown. You could also try this command out. Community Bot 1. FilBot3 FilBot3 1 1 gold badge 5 5 silver badges 10 10 bronze badges.

This returned packages I didn't have installed. As Hashbrown mentioned, add --installed at the end. Like: echo yum upgrade sqlite. James Antill James Antill 1, 12 12 silver badges 9 9 bronze badges.

Was using this a while ago, and came across a specific instance - installed docker-compose via epel in Centos7 - using the above to figure out what depends on python3-pip, and it only included python3 which was expected. So take the results with a grain of salt : Things get weird when you get to "base" capabilities like python — Jon V. Sign up or log in Sign up using Google. This list can be used for rolling out software updates, rebuilding an operating system, or even duplicating a work environment on another machine.

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.



0コメント

  • 1000 / 1000