Rpm list installed packages6/24/2023 Show the location or URL where the rpm is downloaded fromĮ.g. list contents of package named cifs-utils to list contents of package named NetworkManagerĮ.g. Yumdownloader packagename -destdir= your-dest-directoryĭownload a package's rpm and it's dependent/required rpmsĮg. Yumdownloader packagename -destdir your-dest-directory Yum ugrade-to kernel-2.6.32-754.29.1.el6.x86_64ĭownload a package's rpm to the current working directoryĭownload a package's rpm to a specific directory Install a specific kernel version (or any package version) that is available in your repository but not installed by yum update Note that the package name has a dash that is not a part of the command name. The rpm-sign package includes a man page for rpmsign which describes the process. List patch numbers of installed advisories RHSA-xxxx:yyyy Next, we need to install the rpm-sign package and set up an rpmmacros file specifying the key to use. all categories (security, bug fix, enhancements) List patch numbers of available advisories RHSA-xxxx:yyyy Gpgkey=file:///etc/rpm-gpg/RPM-GPG-KEY-redhat-release # cp /mnt/iso/RPM-GPG-KEY-redhat-release /etc Yum -disablerepo=* localinstall /var/tmp/rhel6/*.rpmĬreate and use the RHEL install CD as yum repository List all available packages in all enabled repository # What are the meaning of the attribute marker characters from rpm -V command # display possible query tags to use in the query rpm -querytags # we want to list ALL the packages found in this repoĭisplay query output in specific formats with format strings # For example we have a repo named remi-php3 List packages that are found in a particular yum repository Thus the reverse will show that ppp requires glibc ~]# rpm -qR ppp | grep glibc List packages that requires a specific package Install all rpms that depend on each other. Look for dependency on a package if it was removed check which installed package depends on libssh2 ![]() Packages that depend on a specific packageĮ.g. Software > OS > Unix > Linux > Package Managers > rpm and yum > RHEL > How to use repoquery or rpm or yum or subscription-manager to manage software packages rpm list all installed packagesĪpply this in a script to scan all installed packages and print
0 Comments
Leave a Reply. |