[Gambas-user] How to query your package manager for dependencies?

Tobias Boege taboege at ...626...
Sun Jan 4 02:09:08 CET 2015


Hi list,

given a package name x, I would like you to write me the line(s) which list
the (first-order, that is immediate) dependencies of the package x (by
calling your package manager appropriately). For example, under Arch Linux,
the package manager is called "pacman":

      $ x="gambas3-runtime"
 -->  $ pacman -Si $x | egrep "Depends On|Optional Deps"
      Depends On     : libffi  xdg-utils
      Optional Deps  : None

If you can grep the output a little, like I did above, it would be nice and
if you can separate optional dependencies from mandatory ones, that would be
even better.

While I could google these things for foreign-to-me distributions, I would
rather ask you to actually confirm that the lines you give me do work.
Please use only english locales. Thanks for any contribution.

Regards,
Tobi

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk




More information about the User mailing list