LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Disallow an unwanted dependency: yum install... (https://www.linuxquestions.org/questions/fedora-35/disallow-an-unwanted-dependency-yum-install-771037/)

Seemoi 11-23-2009 12:50 PM

Disallow an unwanted dependency: yum install...
 
Using Fedora 12 , 64 bit.

Question:
Can I disallow a dependency at install time (yum) ?

I wish to install "claws-mail" , but not the dependencies...
I won't use bluetooth or pilot, so can I disallow them using
'yum' ?

=================================================================
Package Arch Version Repository Size
=================================================================
Installing:
claws-mail x86_64 3.7.3-1.fc12 fedora 3.2 M

Installing for dependencies:
bluez-libs x86_64 4.57-2.fc12 fedora 72 k
pilot-link x86_64 2:0.12.4-3.fc12 updates 580 k

Thank you.

lazlow 11-23-2009 02:42 PM

I do not think you can and make it work. You could download it manually and install it with rpm --nodeps. You could also grab the source rpm and rebuild it without the wanted support.

Considering the size of the two packages I would just ignore them.

Seemoi 11-24-2009 08:57 AM

Thanks Lazlow.

In debian based "apt-get", if there are "recommends" you can disallow them (apt-get install --no-install-recommends). These aren't dependencies necessarily but 'recommended' additional packages.

Question:
How does yum manage/list/disallow the 'recommended' packages or are these not available in a Fedora (yum management) system?

Thank you.
Seemoi

lazlow 11-24-2009 09:50 AM

Dependencies are yes or no with an RPM based system, there is not a recommended category.


All times are GMT -5. The time now is 09:49 PM.