1. clean the yum cache directory # yum clean all 2. To install a specific version of a package we must know the available package version in our repository. List all the version of the packages available : # yum --showduplicate list [package_name] For Example : # yum --showduplicate ...
Once you have the name, simply run "yum groupinfo group_name" to see a list of all the packages in that group. Being able to list packages in a YUM group can be helpful for a variety of reasons, such as ensuring that all necessary packages are installed for a specific task, or ...
Using the yum command to list Installed packages For uninstalling packages, you need to know the correct package name. To list all installed packages, run this command: yum list installed To search for a particular package, use thegrep command: yum list installed |grep<package_name> Here, we...
To install and useyum-utils, run the commands below: # yum update # yum install yum-utils Now you can list files of an installed RPM package, for examplehttpdweb server (note that the package name is case-sensitive). The--installedflag means installed packages and-lflags enables listing of...
Installing Packages usingyum NOTE:The correct repository name may vary depending upon the subscription that provides the High Availability or Resilient Storage components along with the system architecture. In order to list all the available repositories, please use the following command. This helps to...
8. Dump All Installed RPM Packages into Zip File yum-debug-dumpallows you to dump a complete list of all packages you have installed, all packages available in any repository, important configuration and system information into a zipped file. ...
To list installed Ubuntu packages using thedpkgcommand, run: dpkg --get-selections | grep -w "install" Alternatively, use thedpkg-querytool: dpkg-query -l | grep ii In both cases, the output shows a long list of installed packages. ...
1. Mount RHEL Installation ISO 2. Get Media ID with the ISO 3. Add yum configuration file for the ISO Repository (ISO.repo) Appendix, An example of is
How to reinstall an installed package using YUM/DNF in linux ?1 year ago1 Comment How to remove a directory “-p” in Linux ?1 year ago1 Comment Solved: ERROR: Could not create or update ‘/usr/local/nagios/var/nagios.configtest’1 year ago1 Comment How to extract private key- encry...
Using dpkg-query Users running older versions of Ubuntu can use thedpkg-querycommand to get a list of installed packages. sudo dpkg-query -l Dpkg will present the output in a clean, tabular format by default. To strip out additional information and print only the names of the packages, run...