[ubuntu-in] Listing out dependency of a package on ubuntu
Narendra Sisodiya
narendra at narendrasisodiya.com
Tue Nov 23 17:59:47 GMT 2010
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;}'
--
┌─────────────────────────┐
│ Narendra Sisodiya
│ http://narendrasisodiya.com
└─────────────────────────┘
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-in/attachments/20101123/7c9bab8b/attachment.htm
More information about the ubuntu-in
mailing list