0

I just download inkscape with :

sudo dnf download inkscape --resolve

How may I install this package from the downloaded files now ? The man page does not even include the download command.

1 Answer 1

6

when you use a package manager, you shouldn't bother about first downloading and then installing. You should just run:

sudo dnf install inkscape

supposing you already downloaded some packages locally and you want to install them, then you can:

sudo dnf install /path/to/package.rpm

If you have a directory full of packages that can possibly be used for installation, then you should convert that directory into a repository (using createrepo) and add it to dnf as a repository...

4
  • Thanks but I obviously tried that before ask. :) The issue is that dnf restarted to donwload everything whereas the purpose of the manoeuver was to gain some time : download packages while installing another package.. As you already understood : that just went well..
    – John Doe
    Commented Oct 8, 2019 at 9:54
  • @JohnDoe I expanded my answer. Hope this helps you.
    – Chris Maes
    Commented Oct 8, 2019 at 10:03
  • 1
    I may have to come back but I understand the sane logic of your answer, so I accepted it.
    – John Doe
    Commented Oct 8, 2019 at 10:16
  • 1
    The error actually came from my misunderstanding of the command : it does not download in the cache directory as I thought but in the current directory where the command is issued.
    – John Doe
    Commented Oct 11, 2019 at 18:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .