LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 01-27-2017, 11:50 AM   #1
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, USA
Distribution: VMware V12 and V15 in Windows 10, MX Linux 23.1, Kubuntu 23.10, IBM z/VM 5.4
Posts: 558

Rep: Reputation: 34
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]#

Last edited by swamprat; 01-27-2017 at 11:51 AM.
 
Old 01-27-2017, 12:35 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
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/
 
Old 01-27-2017, 04:13 PM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
-tk is the gui. Schmooey on the GUI!
 
Old 01-28-2017, 05:03 PM   #4
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, USA
Distribution: VMware V12 and V15 in Windows 10, MX Linux 23.1, Kubuntu 23.10, IBM z/VM 5.4
Posts: 558

Original Poster
Rep: Reputation: 34
I have installed CPAN on my CentOS 7 system now what.

I followed the CPAN install instructions and it's O.K.

If I use the command shown there to download a Perl module, how do I know what directory it will be download into?

Thanks to all for helping me out with this issue.
 
Old 01-28-2017, 06:28 PM   #5
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by swamprat View Post
I have installed CPAN on my CentOS 7 system now what.

I followed the CPAN install instructions and it's O.K.

If I use the command shown there to download a Perl module, how do I know what directory it will be download into?

Thanks to all for helping me out with this issue.
If you are using cpan to install it, it will "tell perl what directory".
It handles it.

See http://www.cpan.org/modules/INSTALL.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Perl Module Dependencies jhall1990 Linux - Software 3 04-19-2012 10:32 PM
Script to determine perl dependencies gnashley Programming 4 02-10-2012 08:32 AM
Linux and Perl module dependencies?? niner710 Linux - Newbie 5 04-29-2008 09:18 AM
Dependencies Download??? venkat3271 Linux - Newbie 4 02-07-2008 02:36 PM
perl modules failed dependencies ziggie216 Linux - Software 5 01-14-2005 07:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration