![]() ![]() ![]() This command will download glibc rpm and all it's dependencies in your current working directory. It is better to use repoquery to find the dependencies and then use yumdownloader to download them # repoquery -R -resolve -recursive glibc |xargs -r yumdownloader This command is to download the package along with its dependencies does not always successfully recognize all dependencies. (2/2): 686.rpm | 4.2 MB 00:00:01Įxiting because "Download Only" specifiedįor example here I am downloading glibc and all it's dependency rpms # yumdownloader -downloadonly -downloaddir= /tmp/ glibc -resolve > Processing Dependency: glibc = 2.17-196.el7 for package: 86_64 > Processing Dependency: glibc-common = 2.17-196.el7 for package: 86_64 > Processing Dependency: libfreebl3.so for package: 686 > Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: 686 > Processing Dependency: glibc-common = 2.17-222.el7 for package: 686 Loading mirror speeds from cached hostfile Using yumdownloader to download rpm package and all dependenciesīelow is the command to download rpm package with all it's dependencies # yumdownloader -downloadonly -downloaddir=. On RHEL system you must have an active subscription to RHN or you can configure a local offline repository using which "yum" package manager can install the provided rpm and it's dependencies.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |