By bettersoon
Hi, I want to install Perl LWP module on my CentOS 7 server , I tried to to run this command : sudo yum install -y perl-libwww But got “No package perl-libwww available.” Please help me.
Also I want to install these : DBI, DBD::mysql perl modules GD lib, GD perl module
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
If you are on CentOS, you are needing to run these commands:
sudo yum install perl-libwww-perl
sudo yum install perl-DBI
sudo yum install perl-DBD-MySQL
sudo yum install perl-GD
An easy way to find available packages in CentOS/Fedora is to use the yum search feature, like so:
sudo yum search <search term>
So if you are looking for the DBD::MySQL module for perl, you could do a search like this:
sudo yum search DBD
Hope it helps, Jason Colyer DigitalOcean Platform Support Lead
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.