Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Centos 7 , Linux Mint 18.1 Under VMware in Windows 10
Posts: 550
Rep:
Cannot download dependencies for Perl
I'm attempting to install ClamTK but cannot download the needed Perl Dependencies. Perl is intalled and appears to be at the most current level. Below is list of what's happening when trying to install the rpm.
System is CentOS 7.2
Any help will be appreciated in resolving this issue. Thanks
[root@localhost rifkinho]# rpm -ivh clamtk-5.20-1.el7.noarch.rpm
error: Failed dependencies:
perl(Glib) is needed by clamtk-5.20-1.el7.noarch
perl(Gtk2) is needed by clamtk-5.20-1.el7.noarch
perl(Gtk2) >= 1.248 is needed by clamtk-5.20-1.el7.noarch
perl(Gtk2::Gdk::Keysyms) is needed by clamtk-5.20-1.el7.noarch
perl(LWP::Protocol::https) is needed by clamtk-5.20-1.el7.noarch
perl(Locale::gettext) is needed by clamtk-5.20-1.el7.noarch
perl(Text::CSV) is needed by clamtk-5.20-1.el7.noarch
perl(Time::Piece) is needed by clamtk-5.20-1.el7.noarch
[root@localhost rifkinho]# yum upgrade perl
Loaded plugins: fastestmirror, langpacks, priorities
Loading mirror speeds from cached hostfile
* base: mirror.math.princeton.edu
* epel: mirror.math.princeton.edu
* extras: mirror.math.princeton.edu
* updates: centos.chi.host-engine.com
279 packages excluded due to repository priority protections
No packages marked for update
[root@localhost rifkinho]#
Perl uses modules for various functions. Several modules come in with the default Perl package but many are in separate packages.
If you run "yum list perl*" you'll see multiple packages for Perl one of which is one you need per your error:
perl-LWP-Protocol-https.noarch
On my 7.2 system that package isn't installed so I'd have to run "yum install perl-LWP-Protocol-https" to get that package from the RedHat repositories.
In the past I've needed various Perl Modules that are NOT provided by RedHat repositories. You can search other locations (e.g. the EPEL) to see if you can find the ones you need there.
Failing that you can try to get them via the Comprehensive Perl Archive Network (CPAN) http://www.cpan.org/
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.