How to solve dependency problem when install Squid on CentOS 5.5

If your server is running CentOS 5.5 and you are trying to install Squid, you might got this error: Error: Missing Dependency: perl(URI::URL) is needed by package 7:squid-2.6.STABLE21-6.el5.x86_64 (base) The solution for this problem is pretty simple: Download and install perl-URI from CentOS cd /usr/src wget rpm -ivh perl-URI-1.35-3.noarch.rpm Now you can use yum to install Squid as usual yum install squid Pretty simple, huh?