Creating a dependency chart to find out the core-packages.

3 views
Skip to first unread message

Narendra Sisodiya

unread,
Nov 23, 2010, 4:07:34 PM11/23/10
to Ubuntu India Local Community, iitdlug


On Tue, Nov 23, 2010 at 11:29 PM, Narendra Sisodiya <nare...@narendrasisodiya.com> 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 - 

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.


Suggestions invited !

Sharad Birmiwal

unread,
Nov 23, 2010, 5:27:06 PM11/23/10
to iit...@googlegroups.com
On Tue, Nov 23, 2010 at 4:07 PM, Narendra Sisodiya

To generate charts, especially from scripts, i'd suggest you try
graphviz. I've found it to be very handy for such tasks.


SB

Narendra Sisodiya

unread,
Nov 24, 2010, 12:08:35 AM11/24/10
to iit...@googlegroups.com
Thanks, Initially I am dumping all the things into mysql-database, so that I can query and find base packages!  Thanks again !
Reply all
Reply to author
Forward
0 new messages