<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Yumdownloader on Amit Agarwal Linux Blog</title>
    <link>/tags/yumdownloader/</link>
    <description>Recent content in Yumdownloader on Amit Agarwal Linux Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Thu, 18 Dec 2014 01:06:28 +0000</lastBuildDate>
    
	<atom:link href="/tags/yumdownloader/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>repotrack and repoquery -commands to resolve dependencies.</title>
      <link>/2014/12/18/repotrack-repoquery-commands-resolve-dependencies/</link>
      <pubDate>Thu, 18 Dec 2014 01:06:28 +0000</pubDate>
      
      <guid>/2014/12/18/repotrack-repoquery-commands-resolve-dependencies/</guid>
      <description>&lt;p&gt;To get all the depencies of a package, you can try:&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;repoquery -a --requires --resolve 

Example output:
glibc-0:2.20-5.fc21.i686
bash-0:4.3.30-2.fc21.x86_64
chkconfig-0:1.3.63-1.fc21.x86_64
glibc-0:2.20-5.fc21.x86_64
openssl-libs-1:1.0.1j-1.fc21.x86_64
&lt;/pre&gt;
&lt;p&gt;and then to query in nice tree format, you can use :&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;repoquery -a --tree-requires PACKAGE_NAME
&lt;/pre&gt;
&lt;p&gt;And finally use that with repotrack:&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;repotrack -a x86_64 -p . $(repoquery --qf=%{name} -g --list --grouppkgs=all &#39;Office Suite and Productivity&#39; |tr &#39;\n&#39; &#39; &#39;
)

Now for the fun part, why use all the above when you can simply use:&lt;/pre&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;yumdownloader --resolve 

So, if you have reached this line then you don&#39;t need repotrack/repoquery, simply use yumdownloader :)&lt;/pre&gt;</description>
    </item>
    
  </channel>
</rss>
