On Sat, Jan 1, 2011 at 4:30 AM, Kussh Singh <kussh.singh(a)gmail.com> wrote:
On Fri, Dec 31, 2010 at 12:42 PM, Raghu Prasad <prasad.raghu.k(a)gmail.com>wrote;wrote:
From your description, I haven't understood your requirement very well.
Though I suspect you might be looking at something like this:
dpkg --get-selections | sed -es'![ \t]\+.\+$!!' | tee
/var/tmp/installed-software | xargs apt-cache depends
It lists down all the dependencies/suggestions/conflicts of packages
on your system. If you just want to find out dependencies of few select
you want to remove, then put their names (one per line) in a file, (say
packages-to-remove) and run the following:
cat packages-to-remove | xargs apt-cache depends >/var/tmp/pkg-dpendencies
Thank you for the info.
I was thinking of removing certain packages in one go that were tried out
but were not found suitable in a new installation--so description of all
packages installed earlier was needed.
Thank you for your response. I guess I will have to go thru the apt
documentation fairly rigorously in order to get the description of each
package in one go.
$ apt-cache show $(dpkg --get-selections |cut -f1) > package-desc.lst
The file will have all the packages install on your system along with
After your remove packages also try
# apt-get autoremove
to remove all packages not required on the system due to the
dependencies removed from the system.
--Dinesh Shah :-)
Shah Micro System Pvt. Ltd.