On Wed, Nov 24, 2010 at 3:57 AM, Sharad Birmiwal
<[email protected]>wrote:

> On Tue, Nov 23, 2010 at 4:07 PM, Narendra Sisodiya
> <[email protected]> wrote:
> >
> >
> > On Tue, Nov 23, 2010 at 11:29 PM, Narendra Sisodiya
> > <[email protected]> wrote:
> >>
> >> Following command will list out the dependency of a package.
> >> sudo apt-get install --dry-run eclipse  | sed -n '/The following NEW/{n;
> >> :a; $!N;s/\n[[:blank:]][[:blank:]]/ /;ta;P;D;}'
> >> sudo apt-get install --dry-run expect  | sed -n '/The following NEW/{n;
> >> :a; $!N;s/\n[[:blank:]][[:blank:]]/ /;ta;P;D;}'
> >>
> >
> > Similar method -
> >
> http://www.debianadmin.com/recursively-lists-package-dependencies-using-apt-rdepends.html
> > apt-rdepends
> > 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.
>
> To generate charts, especially from scripts, i'd suggest you try
> graphviz. I've found it to be very handy for such tasks.
>
>
> SB
>
>
Thanks, Initially I am dumping all the things into mysql-database, so that I
can query and find base packages!  Thanks again !

-- 
l...@iitd - http://tinyurl.com/ycueutm

Reply via email to