dnf download command works but it is not documented in the manpage.
On 07/06/15 07:05, jd1008 wrote:
dnf download command works but it is not documented in the manpage.
So, write a BZ.
On Mon, 6 Jul 2015 07:15:20 +0800 Ed Greshko ed.greshko@greshko.com wrote:
On 07/06/15 07:05, jd1008 wrote:
dnf download command works but it is not documented in the manpage.
So, write a BZ.
It's a plugin:
man dnf.plugin.download
kevin
On 07/06/15 08:33, Kevin Fenzi wrote:
It's a plugin
A plugin question then.
I see python3-dnf-plugins-core as well as python-dnf-plugins-core. They have the same description. Is there a preference as to which have installed?
On 07/06/15 08:47, Ed Greshko wrote:
On 07/06/15 08:33, Kevin Fenzi wrote:
It's a plugin
A plugin question then.
I see python3-dnf-plugins-core as well as python-dnf-plugins-core. They have the same description. Is there a preference as to which have installed?
I guess, never mind... Not a python person but...
I see /bin/dnf is a symbolic link to dnf-2 and /bin/python is also a symlink to python2. So, it seems, the default version used on the system is python2 so python-dnf-plugins-core is the proper one.
On Mon, 6 Jul 2015 08:56:56 +0800 Ed Greshko ed.greshko@greshko.com wrote:
On 07/06/15 08:47, Ed Greshko wrote:
On 07/06/15 08:33, Kevin Fenzi wrote:
It's a plugin
A plugin question then.
I see python3-dnf-plugins-core as well as python-dnf-plugins-core. They have the same description. Is there a preference as to which have installed?
I guess, never mind... Not a python person but...
I see /bin/dnf is a symbolic link to dnf-2 and /bin/python is also a symlink to python2. So, it seems, the default version used on the system is python2 so python-dnf-plugins-core is the proper one.
Yep. Until Fedora 23, when that will switch to the python3 version...
kevin
----- Original Message -----
From: "Ed Greshko" ed.greshko@greshko.com To: "Fedora" users@lists.fedoraproject.org Sent: Monday, July 6, 2015 2:56:56 AM Subject: Re: dnf command to download
On 07/06/15 08:47, Ed Greshko wrote:
On 07/06/15 08:33, Kevin Fenzi wrote:
It's a plugin
A plugin question then.
I see python3-dnf-plugins-core as well as python-dnf-plugins-core. They have the same description. Is there a preference as to which have installed?
I guess, never mind... Not a python person but...
I see /bin/dnf is a symbolic link to dnf-2 and /bin/python is also a symlink to python2. So, it seems, the default version used on the system is python2 so python-dnf-plugins-core is the proper one.
-- Sorta what I want to say when folks habitually complain about Fedora - https://youtu.be/ZArl8fTfub4
It depends on your use case.
If you want to use plugins of the regular DNF, just install "dnf-plugins-core" (no need to choose between python*-dnf-plugins-core).
If you need the plugins to be available from a particular Python version, install the appropriate python*-dnf-plugins-core package. But since these plugins does not provide any API and the plugins are not accessible from DNF's API, there is probably no good use case.
Well, "python3-dnf" on Fedora < 23 and "python-dnf" on Fedora >= 23 provides an experimental binary ("/usr/bin/dnf-3" and "/usr/bin/dnf-2" respectively) which allows you to test DNF with the Python version which is not the default in the given Fedora. If you want to test plugins with these, then you need to install "python3-dnf-plugins-core" on Fedora < 23 and "python-dnf-plugins-core" on Fedora >= 23.