Download all dependencies with yumdownloader, even if already installed?

Ads
 

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

Ads









Related Tutorials/Questions & Answers:
Listing all even numbers between two numbers
Write a program to list all even numbers between two numbers
Advertisements
Download
Download.
upload and download all kinds of files in jsp - Java Beginners
download
Version of ch.powerunit>powerunit-with-dependencies dependency
Version of com.47deg>sbt-dependencies dependency
Version of com.coreoz>plume-dependencies dependency
Version of rubygems>jar-dependencies dependency
Version of com.fortysevendeg>sbt-dependencies dependency
odd and even
Version of com.47deg>sbt-dependencies-tests_2.11 dependency
Version of com.igitras>custom-boot-dependencies dependency
Version of com.nabilhachicha>android-native-dependencies dependency
Version of com.nabilhachicha>android-native-dependencies dependency
Version of cn.home1>oss-common-dependencies dependency
Version of com.47deg>sbt-dependencies-tests_2.12 dependency
port 8080 already used
loag already in use atomikos
Even and odd functions in java
Check even or odd number.
How to list even numbers between 1 and 100?
JSTL - check odd/even number - JSP-Servlet
java.lang.IllegalStateException: Writer already retrieved at - Ajax
EVEN NUMBERS - Java Interview Questions
download excel
Version of cn.home1>oss-common-dependencies-spring-boot-1.4.x dependency
print the even numbers between the range 100-200
file download
Java download

Ads