Re: questions about pkg_add

Kenneth Gober <[email protected]>
Newsgroups gmane.os.openbsd.misc
Message-ID <CANHrbpf7rFq=C5ozYWLmD=4+YagsiOiq_LyVEimKp83YTvKURw@mail.gmail.com>
On Tue, Aug 4, 2026 at 10:28 AM Neel chakraborty <[email protected]>
wrote:

>
>    -
>
>    Is there an equivalent of pacman -Sp ?
>    -
>
>    Here are the details of the command
>    <https://man.archlinux.org/man/pacman.8>
>    -
>
>    Are there any OpenBSD:: modules that can be used to print the entire
>    resolved dependency tree for a certain package to STDOUT?
>
>    If I download a package, with its required dependencies, to a local
>    directory, can I install the package with pkg_add?
>
>    How does pkg_add handle package verification? Do I need to do anything
>    after downloading the package files, or will pkg_add take care of it on
>    its own?
>
>    -
>
>    What I am trying to do is, generate a dependency tree for a package
>    -
>
>    and then download all the required files onto a local folder and then
>    -
>
>    point pkg_add to the local folder as the source. Is it possible?
>    -
>
>    Please let me know, I don't know the correct words to look up in the
>    manuals
>    hence the question.
>
> "man pkg_add" is the command you want. It will tell you about the pkg_add
options
including "-n" to not actually install anything, PKG_CACHE which will let
you
download things to a local folder, and tell you how package signatures are
verified.

-ken
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.