[ubuntu-in] List Of Installed Software

Narendra Diwate narendra.diwate at gmail.com
Fri Jun 18 08:49:01 BST 2010


Those are a few seriously capable command line guys. Hats off to you and to
the OP for asking. Wish I had spent some time learning DOS and the Linux
Command Line.

Regards

Narendra Diwate




2010/6/18 Abhishek Amberkar [अभिषेक] <abhishek.amberkar at gmail.com>

> On Fri, Jun 18, 2010 at 11:32 AM, Ramnarayan.K <ramnarayan.k at gmail.com>
> wrote:
> > 2010/6/18 Abhishek Amberkar [अभिषेक] <abhishek.amberkar at gmail.com>:
> >>> dpkg --get-selections | awk '{print "sleep 0.5 && echo" " "$1}' | bash
> >>>
> >>>
> >>
> >> Above command lists the packages which are marked "deinstall"
> >>
> >> As `man dpkg' says "deinstall" means
> >> The package is selected for deinstallation (i.e. we want to remove all
> >> files, except configuration files).
> >
> > not sure what you mean - cannot see deinstall mentioned anywhere in the
> command
> >>
> >> Following command gives list of all installed pacakges
> >>
> >> dpkg -l | grep ^i | awk '{print $2}'
> >
> > Did a comparision of the results of both commands
> >
> > the first gives me 3055 packages and the second 3084.
> >
> > about 29 packages more in the latter
> >
> > so why this difference and what does the deinstall mean ??
> >
>
> I already gave the meaning of "deinstall" in my previous posting.
> (Refer `man dpkg')
>
> If you do "$ dpkg --get-selections | grep deinstall" it shows
> "deinstall" packages. If you check state of any of these packages
> using "aptitude show <package_name>" it will show "not installed". So
> this command doesn't really shows all the `currently' installed
> packages on your system.
>
>
>
>
> --
> With Regards
> Abhishek Amberkar
>
> --
> ubuntu-in mailing list
> ubuntu-in at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-in/attachments/20100618/570c2851/attachment.htm 


More information about the ubuntu-in mailing list