Download all dependencies with yumdownloader, even if already installed?

Download all dependencies with yumdownloader, even if already installed?

Hi,

I want to download all the dependencies with yumdownload even if it is installed on my computer.

for example if software package is already installed then it only download the given package and not all dependencies.

For example following command:

yumdownloader --resolve  nginx

only donwloads nginx package.

What is the command to download all dependencies?

I need command for Download all dependencies with yumdownloader, even if already installed?

Thanks

View Answers

August 6, 2019 at 5:56 AM

Hi,

You can use following command:

repoquery -R --resolve --recursive nginx | xargs -r yumdownloader

The repoquery tool is used to query the repo to find out dependency and then pass it to yumdownloader for downloading it.

This way you can get all the dependencies of a package.

Thanks









Related Tutorials/Questions & Answers:
Download all dependencies with yumdownloader, even if already installed?
Listing all even numbers between two numbers
Advertisements
Write a program to list all even numbers between two numbers
Download
Download.
download
upload and download all kinds of files in jsp - Java Beginners
odd and even
port 8080 already used
loag already in use atomikos
Even and odd functions in java
Check even or odd number.
ModuleNotFoundError: No module named 'even_detector'
ModuleNotFoundError: No module named 'even_detector'
ModuleNotFoundError: No module named 'even-tester'
java.lang.IllegalStateException: Writer already retrieved at - Ajax
How to list even numbers between 1 and 100?
JSTL - check odd/even number - JSP-Servlet
EVEN NUMBERS - Java Interview Questions
print the even numbers between the range 100-200
Display error message if data is already inserted in database
Maven Repository/Dependency: com.googlecode.maven-download-plugin | download-maven-plugin
java.net.BindException: Address already in use: JVM_Bind.
even more circles - Java Beginners
print the sum of even number from 1 to 100
ModuleNotFoundError: No module named 'does-this-even-work-anymore'
ModuleNotFoundError: No module named 'even-more-itertools'
java.net.BindException: Address already in use: JVM_Bind.
download excel
file download
Java download
download - SQL
Download Java
FileUpload and Download
FileUpload and Download
FileUpload and Download
FileUpload and Download
FileUpload and Download
FileUpload and Download
log4j is not logging even under src path
Odd Even Transposition Sort In Java
getOutputStream() has already been called for this response
Java write even numbers to file
Version of com.coolerfall>android-http-download-manager dependency
Maven Repository/Dependency: org.opencadc | cadc-download-manager
PRIME AND EVEN AND ODD - Java Interview Questions
Write a program in Java to append content at the end of an already existing file.
Maven Repository/Dependency: de.undercouch | gradle-download-task
NoSuchMethodException even if method defined - Java Beginners
how to create a new table for the already existing user in the website

Ads