sogrep(1)
=========

Name
----
sogrep - Find packages using a linked to a given shared library

Synopsis
--------
sogrep [options] repo libname

Description
-----------

Check the soname links database for pacman repositories containing packages
linked to a given shared library. If the repository specified is "all", then
all repositories will be searched, otherwise only the named repository will be
searched.

If the links database does not exist, it will be downloaded first.

Options
-------

*-r, --refresh*::
	Refresh the links databases

*-h, --help*::
	Show a help text


Environment Variables
---------------------
**SOLINKS_MIRROR**="https://mirror.foo.com"
	Alternative mirror to use for downloading soname links database.

**SOCACHE_DIR**="/path/to/directory"::
	Directory where soname links database is stored, overrides the default
	directory set by the **XDG_CACHE_HOME** environment variable or the
	**HOME** environment variable if **XDG_CACHE_HOME** is not set.

include::footer.asciidoc[]
