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
└─────────────────────────┘
-- 
ubuntu-in mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in

Reply via email to