dnf cache
Jon Ingason
jon.ingason at telia.com
Mon Sep 7 11:22:47 UTC 2015
Den 2015-09-07 kl. 12:58, skrev Ed Greshko:
> On 09/07/15 17:52, arnaud gaboury wrote:
>> On Mon, Sep 7, 2015 at 10:32 AM, Ed Greshko <ed.greshko at greshko.com> wrote:
>>> On 09/07/15 16:26, arnaud gaboury wrote:
>>>> Was in my current directory! Any way to tell in dnf.conf a specific
>>>> path for cache ?
>>> [egreshko at meimei ~]$ dnf download --help-cmd
>>> usage: dnf download [--help-cmd] [--source] [--destdir DESTDIR] [--resolve]
>>> packages [packages ...]
>>>
>>> positional arguments:
>>> packages packages to download
>>>
>>> optional arguments:
>>> --help-cmd show this help about this tool
>>> --source download the src.rpm instead
>>> --destdir DESTDIR download path, default is current dir
>>> --resolve resolve and download needed dependencies
>> Thank you. But is there a line I can add to /etc/dnf/dnf.conf to tell
>> the DESTDIR in a permanent manner? Can't find such a thing in
>> dnf.conf(5).
Well, you could write a short shell script like:
#! /usr/bin/sh
#
dnf download --destdir <DESTDIR>
etc
>>
> Since the download command is actually a plugin I don't think that is available.
>
--
Regards
Jon Ingason
More information about the users
mailing list