Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 0 down vote accepted

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.

share|improve this answer
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) 
share|improve this answer

Your Answer


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.