Thank you for your kind reply, but mere apt-get install displays the names
of the packages that to be downloaded. Please see http://bit.ly/16HfPo for
example. I would like to get those file names with their download path.
Could you help me ?

On 9/11/09, Ansal mon <[email protected]> wrote:
>
>
> >   Could you please tell me how to get the list of files which apt-get
> > command downloads on a new software installation ?
>
>
> aptitide can search through packages using a particular pattern, for
> example listing all installed packages or dependent packages. I don't
> know how to search for dependent packages of a package that are not
> installed. If anyone knows, please reply. Anyway, you will find the
> following information useful.
>
> apt-cache depends <package-name> shows the dependent packages of the
> given package. aptitude search '~i!~E' shows all the installed packages
> in the system.
> A neat output, showing only package names on both occasions can be
> produced by-
>
> aptitude search '~i!~E' | grep -v "i A" | cut -d " " -f 4
>         to get only the names of all packages installed in the system
>
> apt-cache depends <package-name> | tail -n +2 | cut -d: -f 2
>         to get only dependent package names for the package
>         <package-name>
>
> May be, you can redirect the output of the above commands and get the
> differences between them to see what packages need to be downloaded.
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

For details visit the website: www.ilug-tvm.org or the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to