Sample Header Ad - 728x90

Ignoring dependencies when installing with yum (Scientific Linux)

3 votes
2 answers
10007 views
How can I ignore dependencies of a single package I am attempting to install using yum in Scientific Linux? The answer would presumably the same for CentOS/RHEL. To elaborate, I am looking to get the utility lsb_release, which I know would be put into /usr/bin/lsb_release. The command yum whatprovides /usr/bin/lsb_release tells me that it is part of the redhat-lsb packages (for the respective architectures), but those have a bunch of dependencies, including some X11-related. Since I am only after the lsb_release program, I would like to dodge the "crud" that comes with the dependencies. How can I achieve that?
Asked by 0xC0000022L (16938 rep)
Feb 15, 2013, 05:19 PM
Last activity: Mar 2, 2022, 11:35 AM