<br><br><div class="gmail_quote">On Tue, Nov 23, 2010 at 11:29 PM, Narendra Sisodiya <span dir="ltr"><<a href="mailto:narendra@narendrasisodiya.com">narendra@narendrasisodiya.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>Following command will list out the dependency of a package. </div>sudo apt-get install --dry-run eclipse | sed -n '/The following NEW/{n; :a; $!N;s/\n[[:blank:]][[:blank:]]/ /;ta;P;D;}'<br clear="all">sudo apt-get install --dry-run expect | sed -n '/The following NEW/{n; :a; $!N;s/\n[[:blank:]][[:blank:]]/ /;ta;P;D;}'<br clear="all">
<font class="Apple-style-span" color="#888888"><br></font></blockquote><div><br></div><div>Similar method - </div><div><a href="http://www.debianadmin.com/recursively-lists-package-dependencies-using-apt-rdepends.html">http://www.debianadmin.com/recursively-lists-package-dependencies-using-apt-rdepends.html</a></div>
<div><br></div><div>apt-rdepends</div><div><br></div><div>I am doing this because, I want to create a dependency chart. If we know the packages which are commons in most of the package then we can create a base version of Linux. On top of baseLinux we can bundle application to have one click system.</div>
<div><br></div><div><br></div><div>Suggestions invited !</div><div><br></div></div>