I want to build PHP 5.3.9 on RHEL 6.2 with Tidy support. I get this message:

configure: error: Cannot find libtidy

So I try to install libtidy:

yum install libtidy libtidy-devel

but libtidy-devel is not available:

Package libtidy-0.99.0-19.20070615.1.el6.x86_64 already installed and latest version
No package libtidy-devel available.
Nothing to do

Shouldn't libtidy-devel be in Red Hat's repo? What should I do?


Make sure you have rhel-source repo enabled in /etc/yum.repos.d directory. By default it might not be and libtidy-devel will come from that repo.

  • It worked after I enabled [rhel-6-server-optional-rpms] in /etc/yum.repos.d/redhat.repo, thanks. – Liam Feb 1 '12 at 14:42

libtidy-devel is available in the repos.

Maybe you're missing the required channel?

RHEL Server Optional (v. 6 64-bit x86_64)
RHEL Server Optional (v. 6 for 32-bit x86) 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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