[ILUG-BOM] Fwd: command to get description of packages listed in a file

Kussh Singh kussh.singh at gmail.com
Sat Jan 1 18:54:04 IST 2011


2011/1/1 Dinesh Shah (દિનેશ શાહ/दिनेश शाह) <dineshah at gmail.com>

> try
>
> $ apt-cache show $(dpkg --get-selections |cut -f1) > package-desc.lst
>
> The file will have all the packages install on your system along with
> their description
>
> 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.
>
> THANKS and a very happy 2011
Kussh


More information about the Linuxers mailing list