Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'd like to install a software package on my Fedora System, but it has a lot of unreasonable dependencies (which I know for sure they are not actually required).

I used to work on Debian, where apt-get allows you to systematically exclude recommended and suggested packages, installing only the strictly required dependencies.

Is there a way to do so with Yum?

share|improve this question
add comment

2 Answers

No.

Unfortunately, RPM-based package management has just one type of dependencies. It's a dependency or it's not, not something in between (read here). In my experience, dependencies in Fedora are quite limited and non-core functionality is not installed unless you do group-installs.

The multiple levels of dependencies shows one of the powers of DEB-based package management, in my opinion.

share|improve this answer
    
Installing eclipse on fedora is a 400MB install, I came here looking for a yum install --whithout-recommends but nothing. –  Manuel Gutierrez May 14 '13 at 15:56
add comment

Dependencies in RPM based distributions work in a different manner to the dpkg Requires/Recommends/Suggests method.

Generally dependencies in RPM based distributions can be considered as an equivalent to "this package will not work properly unless this dependency is met". However there is some artistic freedom for package maintainers to include extra dependencies as they see fit (either because they are not automatically detected, or because they feel that it is a hard requirement).

As an example, a web application in Debian/Ubuntu may have various suggests dependencies on MySQL Server packages. However, because the MySQL server is not required to be on the local web server, it is not a hard requirement, the same package under Fedora would have no dependency.

There is a problem with the RPM methodology, which is what you have identified, sometimes there are too many dependencies. A common question I've heard is "Why should this package include libraries for Bluetooth when I don't use Bluetooth?", items such as optional plugins that are included in the main application package, are generally the cause for this situation.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.