How to resolve the dependencies while installing RPM file

I am trying to install the check_MK and it has many dependencies, wondering how to resolve the dependencies.

--> Finished Dependency Resolution
Error: Package: check-mk-raw-1.2.6p12-el7-34.x86_64 (/check-mk-raw-1.2.6p12-el7-34.x86_64)
           Requires: fping
Error: Package: check-mk-raw-1.2.6p12-el7-34.x86_64 (/check-mk-raw-1.2.6p12-el7-34.x86_64)
           Requires: php-mbstring
Error: Package: check-mk-raw-1.2.6p12-el7-34.x86_64 (/check-mk-raw-1.2.6p12-el7-34.x86_64)
           Requires: graphviz-gd
Error: Package: check-mk-raw-1.2.6p12-el7-34.x86_64 (/check-mk-raw-1.2.6p12-el7-34.x86_64)
           Requires: perl-Net-SNMP
Error: Package: check-mk-raw-1.2.6p12-el7-34.x86_64 (/check-mk-raw-1.2.6p12-el7-34.x86_64)
           Requires: libmcrypt
Error: Package: check-mk-raw-1.2.6p12-el7-34.x86_64 (/check-mk-raw-1.2.6p12-el7-34.x86_64)
           Requires: freeradius-utils
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Open in new window

Appreciate any help, Thanks!
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Shiju JacobInfo Security ManagerCommented:
yum localinstall

    Create a directory for you local repository, e.g. /home/user/repo.
    Move the RPMs into that directory.

    Fix some ownership and filesystem permissions:

    # chown -R root.root /home/user/repo

    Install the createrepo package if not installed yet, and run

    # createrepo /home/user/repo
    # chmod -R o-w+r /home/user/repo

    Create a repository configuration file, e.g. /etc/yum.repos.d/myrepo.repo containing

    name=My Awesome Repo

    Install your package using

    # yum install packagename

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Dan CraciunIT ConsultantCommented:
rpm's don't autoinstall dependencies.
Use yum and the epel repository, or install each dependency manually.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.