Marc Ravensbergen wrote:
> Hi, is there any way I can find out the entire list of files (and
> dependencies) needed before installing a given package? Let's say I want
> to add "wget" to openbsd. I export the PKG_PATH to the appropriate
> mirror, then type "pkg_add wget". This will do the installation of wget
> and all dependencies, but I would like to know before the actual
> installation what files are needed (if possible of course).
> 
> My reason for this is so that I can generate a complete list of files
> needed to download for a given program, run over to a computer with high
> speed, download, run back to my computer, dump the files in the correct
> directory (/var/db/pkg) and then install the package.
> 
> In this case, wget is very small, but what about Gnome, KDE...
> 
> I am thinking of the feature in Synaptic that lets you generate an
> installation script; all the files and dependencies needed for a given
> package are then saved to a text file as a script.
> 
> If this is possible, can somebody let me know?
> Thanks,
> Marc
> 
Hello,
Yes,try using for example:
pkg_add -n wget

Kind regards
Didier

Reply via email to