On 06/23/2016 11:37 AM, Tom Horsley wrote:
> Is there a way to ask the question:
>
> What directory do I use to install a DNF plugin?
>
> Because it seems to change in every fedora release, and so far
> the only way I can find it is to run dnf under strace and
> see where it looks for plugins :-).
>
> There wouldn't happen to be a release independent directory
> like /etc/dnf/plugins or something that won't constantly
> change on me?
You can define it in /etc/dnf/dnf.conf's "pluginpath" directive. AFAIK,
in the absence of such a directive, it's based on a python version-
specific directory and will change when Python changes. Generally it's
going to be
/usr/lib/python<version>/site-packages/dnf-plugins
On my F23 updated systems, I'm running Python 3.4, so the path is
/usr/lib/python3.4/site-packages/dnf-plugins
YMMV
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital [email protected] -
- AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 -
- -
- Money can't buy happiness, but it can take the sting out of being -
- miserable! -
----------------------------------------------------------------------
--
users mailing list
[email protected]
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/[email protected]
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org