Bug 1615045 - [rfe] Install package as a dependency
Summary: [rfe] Install package as a dependency
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-11 18:30 UTC by Anatoli Babenia
Modified: 2018-09-24 17:59 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-24 17:59:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Anatoli Babenia 2018-08-11 18:30:03 UTC
Description of problem:

I want to install packages as optional dependencies of already installed software to make sure that these dependencies do not stay when the installed software is done.

First this was needed for Enki.
https://ask.fedoraproject.org/en/question/124469/dnf-mark-package-as-dependency/

Then for Phoronix Test Suite.
https://github.com/phoronix-test-suite/phoronix-test-suite/issues/284

Version-Release number of selected component (if applicable):
7.8.0-2.fc29

Comment 1 Anatoli Babenia 2018-08-11 18:30:48 UTC
s/done/gone/

Comment 2 Jaroslav Mracek 2018-09-24 17:59:44 UTC
I would recommend to build your own package that will serve only to delivery your functionality. See fedora wiki how to do it.

It should requires "already installed" and also requires (hard) packages that you want to connect to installed package. Instead of requires you can use a weak deps that makes it optional. I think that your request is better to handle by this way. Anyway thanks for your report.


Note You need to log in before you can comment on or make changes to this bug.